onPressed property
dynamic Function()
onPressed
final
Callback function for when the button is pressed.
Implementation
final Function() onPressed;
Callback function for when the button is pressed.
final Function() onPressed;