onPressed property
Callback to when the button get pressed.
If null
, the button will be considered disabled
Implementation
final VoidCallback? onPressed;
Callback to when the button get pressed.
If null
, the button will be considered disabled
final VoidCallback? onPressed;