PickerModel class
This model is used as the element data structure for each of the picker controls.
Constructors
- PickerModel(String name, {Object? code, Icon? icon})
-
const
Properties
- code → Object?
-
Optional identifier object that is returned when the item is selected
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon?
-
An optional icon that will show to the left of the picker item
final
- name → String
-
the name tha will appear to the user in the picker
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited