AuiDropdownItem<T> class

A single item in an AuiDropdown.

Each item carries a typed value, a human-readable label, an optional leading icon, and an optional disabled flag.

Constructors

AuiDropdownItem({required T value, required String label, IconData? icon, bool disabled = false})
Creates a dropdown item.
const

Properties

disabled bool
Whether this item is non-selectable. Defaults to false.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
Optional leading icon shown next to label.
final
label String
The text label shown in the dropdown list and selected state.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value represented by this 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.
inherited

Operators

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