onPress property

void Function() onPress
final

The function to invoke when the action's TextButton is pressed.

Implementation

final void Function() onPress;