DropdownItem class

dropdown item model class

Constructors

constructor for dropdown item class

Properties

data ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
getter/setter pair
value String
getter/setter pair

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

Static Methods

cloneList(List<DropdownItem> list) List<DropdownItem>
generate clone list of dropdown item
selectedItemById(List<DropdownItem> list, String id) DropdownItem?
selected item by id from dropdown
selectedItemByValue(List<DropdownItem> list, String value) DropdownItem?
selected item by value from dropdown