onPress property

dynamic Function() onPress
final

Fired when the user taps a text button.

Implementation

final Function() onPress;