onPressed property
Called when the button is tapped or otherwise activated.
If this callback is null, then the button will be disabled.
Implementation
final VoidCallback? onPressed;
Called when the button is tapped or otherwise activated.
If this callback is null, then the button will be disabled.
final VoidCallback? onPressed;