ItemChildDelegate<T> class abstract

Abstract delegate for providing items to an item picker.

Defines an interface for accessing items by index, used by ItemPickerLayout to build the list or grid of items. Concrete implementations include ItemList for fixed arrays and ItemBuilder for lazy generation.

See also:

Implementers

Constructors

ItemChildDelegate()
Creates an ItemChildDelegate.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
itemCount int?
The total number of items, or null if infinite or unknown.
no setter
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
operator [](int index) → T?
Retrieves the item at the specified index.