ItemPosition class

Position information for an item in the list.

Constructors

ItemPosition({required int index, required double itemLeadingEdge, required double itemTrailingEdge})
Create an ItemPosition.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
index int
Index of the item.
final
itemLeadingEdge double
Distance in proportion of the viewport's main axis length from the leading edge of the viewport to the leading edge of the item.
final
itemTrailingEdge double
Distance in proportion of the viewport's main axis length from the leading edge of the viewport to the trailing edge of the item.
final
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.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override