onPressed property
Called when the button is tapped.
If this callback and onLongPress are null, then the button will be disabled.
See also:
- enabled, which is true if the button is enabled.
Implementation
final VoidCallback? onPressed;
Called when the button is tapped.
If this callback and onLongPress are null, then the button will be disabled.
See also:
final VoidCallback? onPressed;