onPressed property
void Function()
onPressed
final
The callback executed when the button is activated.
Implementation
final void Function() onPressed;
The callback executed when the button is activated.
final void Function() onPressed;