MyoroMultiMenuController<T> class

Controller of MyoroMultiMenu.

Inheritance

Constructors

MyoroMultiMenuController({required MyoroMultiMenuConfiguration<T> configuration})
Creates a new instance of MyoroMultiMenuController.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItems Set<T>
Getter of selectedItemsController's value.
no setter
selectedItemsController ValueNotifier<Set<T>>
ValueNotifier of the selected items.
no setter
viewModel MyoroMultiMenuViewModel<T>
View model.
finalinherited

Methods

clear() → void
Clears the menu's items.
inherited
dispose() → void
Dispose function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggleItem(T item) → void
Toggles an item of the menu.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited