onPressed property

dynamic Function() onPressed
final

The callback function to be executed when the button is pressed.

Implementation

final Function() onPressed;