action property

(dynamic Function()?) action
getter/setter pair

Menu item action that will be called when an user clicks on it.

Implementation

Function()? action;