AntdScrollMetrics class

Constructors

AntdScrollMetrics.new({required bool isScrollingUp, required double offset, required double previousOffset, required double scrollDelta, required double maxScrollExtent, required double viewportSize})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isScrollingUp bool
Whether scrolling up/forward (true) or down/backward (false)
final
maxScrollExtent double
Maximum allowed scroll offset
final
offset double
Current scroll position in pixels
final
previousOffset double
Previous scroll position before this update
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDelta double
Delta of this scroll update
final
viewportSize double
Viewport size along scroll axis
final

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