onPress property

dynamic Function() onPress
final

Fired after the user taps the button.

Implementation

final Function() onPress;