controller property

SMenuController controller
getter/setter pair

The controller for this menu. Default is internal controller, but an external one (i.e. from class parameter) can be provided and is set to this variable in the initState() function.

Implementation

SMenuController controller = SMenuController();