onPressed property

void Function() onPressed
final

The callback executed when the button is activated.

Implementation

final void Function() onPressed;