onPressed property
void Function()?
onPressed
final
On Tap of button what should happen
Implementation
final void Function()? onPressed;
On Tap of button what should happen
final void Function()? onPressed;