onPress property
dynamic Function()
onPress
final
Fired when the user taps a text button.
Implementation
final Function() onPress;
Fired when the user taps a text button.
final Function() onPress;