onPressed property
final
Callback to call when the action is pressed.
Setting this to null will disable the widget.
Implementation
final VoidCallback? onPressed;
Callback to call when the action is pressed.
Setting this to null will disable the widget.
final VoidCallback? onPressed;