MyoroInputDropdownConfiguration<T, MENU_CONFIGURATION extends MyoroMenuConfiguration<T> > class
abstract
Input dropdown configuration.
- Inheritance
-
- Object
- MyoroDropdownConfiguration<
T, MENU_CONFIGURATION> - MyoroInputDropdownConfiguration
- Implementers
Constructors
-
MyoroInputDropdownConfiguration.new({MyoroDropdownTypeEnum dropdownType = dropdownTypeDefaultValue, 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
- dropdownType → MyoroDropdownTypeEnum
-
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< ? targetKey, }) → MyoroDropdownConfiguration<StatefulWidget> >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
Constants
- enabledDefaultValue → const bool
- labelDefaultValue → const String
- toggleDropdownOnFieldSubmittedDefaultValue → const bool
- toggleDropdownOnInputTapDefaultValue → const bool