MyoroMultiDropdownController<T> class
Controller of MyoroMultiDropdown.
- Inheritance
-
- Object
- MyoroDropdownController<
T, MyoroMultiDropdownConfiguration< T> , MyoroMultiMenuController<T> , MyoroMultiDropdownViewModel<T> > - MyoroMultiDropdownController
Constructors
-
MyoroMultiDropdownController({required MyoroMultiDropdownConfiguration<
T> configuration}) - Creates a new instance of MyoroMultiDropdownController.
Properties
-
configuration
↔ MyoroMultiDropdownConfiguration<
T> -
Configuration getter.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Getter of the dropdown's menu controller.
no setterinherited
-
Style of the dropdown (if it is set).
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
- showing → bool
-
Getter of
_viewModel.state.showingController's value.no setterinherited -
showingController
→ ValueNotifier<
bool> -
MyoroDropdownState.showingController getter.
no setterinherited
-
viewModel
→ MyoroMultiDropdownViewModel<
T> -
_viewModelgetter.no setterinherited
Methods
-
clear(
) → void -
Clears all selected items.
inherited
-
disableDropdown(
) → void -
Disables the dropdown.
inherited
-
dispose(
) → void -
Dispose function.
inherited
-
enableDropdown(
) → void -
Enables the dropdown.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggleDropdown(
) → void -
Toggle display of the dropdown.
inherited
-
toggleItem(
T item) → void -
Toggles an item in the dropdown.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited