SelectItemDelegate class abstract
Abstract base class for building select item lists.
Provides interface for rendering select items with optional caching and change detection.
- Mixed-in types
- Implementers
Constructors
- SelectItemDelegate()
-
Creates a select item delegate.
const
Properties
- estimatedChildCount → int?
-
Estimated number of children in this delegate.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, int index) → Widget? - Builds a widget for the item at the given index.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(
covariant SelectItemDelegate oldDelegate) → bool -
Determines if the widget should rebuild when value changes.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const EmptySelectItem
- An empty select item delegate constant.