AntdItemPositionContext<T> class

Constructors

AntdItemPositionContext({required T data, required int index, required bool isFirstAppear, Size? size, required double scrollOffset, required double visibleHeight, required double hiddenHeight})
const

Properties

data → T
数据
final
hashCode → int
The hash code for this object.
no setterinherited
hiddenHeight → double
当前项被遮挡的高度
final
index → int
数据的索引
final
isFirstAppear → bool
首次进入
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollOffset → double
当前的滚动距离
final
size → Size?
大小
final
visibleHeight → double
当前项在屏幕内的可见高度
final
visibleRatio → double
no setter

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