onPressed property

Function? onPressed
getter/setter pair

A functionon to do something on press

Implementation

Function? onPressed;