onPressed property

Function onPressed
getter/setter pair

A callback Function to be executed when the button is pressed

Implementation

Function onPressed;