onPress property
void Function()
onPress
final
The function to invoke when the action's TextButton is pressed.
Implementation
final void Function() onPress;
The function to invoke when the action's TextButton is pressed.
final void Function() onPress;