onPressed property

void Function(BuildContext) onPressed
final

The action to be taken when the action is pressed.

Implementation

final void Function(BuildContext) onPressed;