onPressed property
The callback that is called when a button is tapped.
If this callback and onLongPress are null, then the button will be disabled.
Implementation
final VoidCallback? onPressed;
The callback that is called when a button is tapped.
If this callback and onLongPress are null, then the button will be disabled.
final VoidCallback? onPressed;