SelectedListItem<T> class

This is a model class used to represent an item in a selectable list

Constructors

SelectedListItem.new({required T data, bool isSelected = false})

Properties

data → T
Tha data of the item
final
hashCode int
The hash code for this object.
no setterinherited
isSelected bool
Indicates whether the item is selected Default Value: false
getter/setter pair
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited