NativeSelectItem class
This class contains information for one select item
Constructors
- NativeSelectItem({required String value, required String label, bool disabled = false, Color? color})
-
The constructor for a NativeSelectItem
const
Properties
- color → Color?
-
If given, the text color of the select item is changed to this color.
final
- disabled → bool
-
If this is true, the item is not selectable and the opacity of the item
will be decresed to indicate that the item is disable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The display text for the select item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The key of the item. This should be some kind of id. When the item is
selected, this value is retured in the future.
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