SMenuController class
The controller for all menus. Can open, close, toggle, the menu. Has a ValueNotifier for state that will notify when SMenuState changes.
Constructors
Properties
- close ↔ void Function()
-
Close the menu that this controller controls.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- open ↔ void Function()
-
Open the menu that this controller controls.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ ValueNotifier<
SMenuState> -
A ValueNotifier for current menu state that will notify when the
state changes. Possible values are of type SMenuState.
final
- toggle ↔ void Function()
-
Toggle the menu that this controller controls. If it is open, it closes,
if closed, then it opens.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited