onPressed property

Function onPressed
final

The function to be executed when the button is pressed.

Implementation

final Function onPressed;