MyoroInputDropdownViewModel<T, CONFIGURATION extends MyoroInputDropdownConfiguration<T, MyoroMenuConfiguration<T> > , CONTROLLER extends MyoroDropdownController<T, MyoroDropdownConfiguration<T, MyoroMenuConfiguration<T> > , MyoroMenuController<T, MyoroMenuViewModel<T, MyoroMenuConfiguration<T> > > , MyoroDropdownViewModel<T, MyoroDropdownConfiguration<T, MyoroMenuConfiguration<T> > , MyoroMenuController<T, MyoroMenuViewModel<T, MyoroMenuConfiguration<T> > > > > > class
abstract
View model of an input dropdown.
Constructors
- MyoroInputDropdownViewModel.new(CONFIGURATION configuration, TextEditingController? inputController, CONTROLLER dropdownController)
- Default constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ MyoroInputDropdownState<
T, CONFIGURATION, CONTROLLER> -
_state
getter.no setter
Methods
-
buildDropdownWidget(
BuildContext context, Widget inputWidget) → Widget - Builds the dropdown Widget.
-
buildMenuStyle(
BuildContext context) → MyoroMenuStyle - Builds the MyoroMenuStyle.
-
disableDropdown(
) → void - Disables the dropdown.
-
dispose(
) → void - Dispose function.
-
enableDropdown(
) → void - Enables the dropdown.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggleDropdown(
) → void - Toggles the dropdown.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited