onPressed property Null safety

Callback onPressed

Implementation

Callback get onPressed;