onPressed property
Called when the button is tapped or otherwise activated.
If this is null, the button will be disabled and will not respond to touch.
Implementation
final VoidCallback? onPressed;
Called when the button is tapped or otherwise activated.
If this is null, the button will be disabled and will not respond to touch.
final VoidCallback? onPressed;