onPressed property
void Function()?
onPressed
final
Ação executada ao pressionar o botão.
Implementation
final void Function()? onPressed;
Ação executada ao pressionar o botão.
final void Function()? onPressed;