onPressed property

Function onPressed
final

The callback function to execute when the button is pressed.

Implementation

final Function onPressed;