onPressed property
final
Callback, called when this button is tapped or activated other way.
Implementation
final void Function()? onPressed;
Callback, called when this button is tapped or activated other way.
final void Function()? onPressed;