onPressed property

void Function()? onPressed
final

Ação executada ao pressionar o botão.

Implementation

final void Function()? onPressed;