DialogSelectItem<T> class

A single item in a DialogSelect list.

Generic over T so callers can attach a typed value to each item.

Constructors

DialogSelectItem({required String label, T? value, String? description, String? footer, String? category, bool isCurrent = false, bool isDisabled = false, Color? background})
const

Properties

background Color?
Optional per-item background color override.
final
category String?
Group/category name. Items with the same category are grouped under a shared section header.
final
description String?
Optional secondary description shown below the label.
final
Optional trailing text shown on the right.
final
hashCode int
The hash code for this object.
no setterinherited
isCurrent bool
Whether this item represents the current/active selection. Shown with a marker.
final
isDisabled bool
Whether the item is non-selectable.
final
label String
Primary display text for the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
The underlying value associated with 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