SearchableDropDownItem class
A class representing an item in the searchable dropdown list.
The item has a label that will be displayed to the user, and a value that is used to identify the item when selected.
Constructors
- SearchableDropDownItem.new({required String label, required dynamic value})
-
Creates a SearchableDropDownItem with the specified
label
andvalue
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The label of the dropdown item, displayed to the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
The value of the dropdown item, used to identify the item when selected.
final
Methods
-
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