ItemRef class final
Placeholder passed into ListView(itemBuilder: (item) => ...).
Use ItemRef()['field'] to read typed list-item fields inside repeated
widget builders. Use ItemRef().index to get the zero-based iteration
index.
- Inheritance
-
- Object
- DslExpression
- ItemRef
- Annotations
-
- @immutable
Constructors
- ItemRef()
-
const
Properties
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.
inherited
-
operator [](
String field) → FieldAccess -
inherited