MyoroInputDropdownConfiguration<T, MENU_CONFIGURATION extends MyoroMenuConfiguration<T>> class abstract

Input dropdown configuration.

Inheritance
Implementers

Constructors

MyoroInputDropdownConfiguration.new({MyoroDropdownTypeEnum dropdownType = dropdownTypeDefaultValue, required MENU_CONFIGURATION menuConfiguration, String label = labelDefaultValue, bool enabled = enabledDefaultValue, MyoroInputCheckboxOnChanged? checkboxOnChanged, required MyoroInputDropdownSelectedItemBuilder<T> selectedItemBuilder, bool toggleDropdownOnInputTap = toggleDropdownOnInputTapDefaultValue, bool toggleDropdownOnFieldSubmitted = toggleDropdownOnFieldSubmittedDefaultValue})
const

Properties

checkboxOnChanged MyoroInputCheckboxOnChanged?
Checkbox on changed to toggle if the dropdown is enabled or not.
final
Dropdown type.
finalinherited
enabled bool
If the dropdown is enabled or not.
final
hashCode int
The hash code for this object.
no setterinherited
label String
Label of the input.
final
MyoroMenuConfiguration of the dropdown.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItemBuilder MyoroInputDropdownSelectedItemBuilder<T>
Builder of the String displayed when a T item is selected.
final
targetKey GlobalKey<State<StatefulWidget>>?
GlobalKey of the Widget to base the dropdown from:
finalinherited
toggleDropdownOnFieldSubmitted bool
If the dropdown should be toggled when enter is pressed.
final
toggleDropdownOnInputTap bool
If the dropdown should be toggled when the input is tapped
final

Methods

copyWith({MyoroDropdownTypeEnum? dropdownType, GlobalKey<State<StatefulWidget>>? targetKey, MENU_CONFIGURATION? menuConfiguration}) MyoroDropdownConfiguration<T, MENU_CONFIGURATION>
Copy with.
inherited
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