onPressed property
Callback function invoked when the button is pressed. Defines the action to be performed.
Implementation
final VoidCallback onPressed;
Callback function invoked when the button is pressed. Defines the action to be performed.
final VoidCallback onPressed;