onPressed property
The callback to be called when the button is pressed.
If disabled is true
, this will be ignored.
Implementation
final VoidCallback? onPressed;
The callback to be called when the button is pressed.
If disabled is true
, this will be ignored.
final VoidCallback? onPressed;