MyoroMultiSelectionDropdownController<T> class
Controller of MyoroMultiSelectionDropdown.
- Inheritance
-
- Object
- MyoroSelectionDropdownController<
T, MyoroMultiInputDropdownController< T> , MyoroMultiSelectionDropdownViewModel<T> > - MyoroMultiSelectionDropdownController
Constructors
-
MyoroMultiSelectionDropdownController(MyoroMultiSelectionDropdownConfiguration<
T> configuration) - Creates a new instance of MyoroMultiSelectionDropdownController.
Properties
- enabled → bool
-
Getter of whether the dropdown is enabled or not.
no setterinherited
- 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
→ MyoroMultiSelectionDropdownViewModel<
T> -
_viewModel
getter.no setterinherited
Methods
-
clear(
) → void -
Clears the selected items.
inherited
-
dispose(
) → void -
Dispose function.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggleEnabled(
[bool? enabled]) → void -
Toggles if the dropdown is enabled or not.
inherited
-
toggleItem(
T item) → void -
Toggles an item.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited