ThemedSelectItem<T> class

Constructors

ThemedSelectItem({required String label, required T? value, IconData? icon, Widget? leading, VoidCallback? onTap, Widget? content, bool canDelete = false})
ThemedSelectItem is the item of the ThemedSelectInput, ThemedMultiSelectInput and ThemedDualListInput.
const

Properties

canDelete bool
canDelete is the flag to enable the delete button of the item.
final
content Widget?
content is the content of the item.
final
hashCode int
The hash code for this object.
no setteroverride
icon IconData?
icon is the icon of the item.
final
label String
label is the label of the item. Depending of the implementation of this class, we priorize in this order:
final
leading Widget?
leading is the leading widget of the item.
final
onTap VoidCallback?
onTap is the callback function when the item is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
value is the value of the item.
final

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.
override