DropdownOption<T> class
- Annotations
Constructors
- DropdownOption({required T value, required OptionBuilder labelBuilder, })
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelBuilder → OptionBuilder
-
Function that builds the option Widget shown in the header
final
-
Function that builds the option Widget shown in the menu
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
Value of type
T
of this option. It's hash code is used by the internal map for selected optionsfinal
Methods
-
copyWith(
{OptionBuilder? labelBuilder, T? value}) → DropdownOption< T> -
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