ChatScrollObserverCustomAdjustPositionModel class

Constructors

ChatScrollObserverCustomAdjustPositionModel({required ScrollMetrics oldPosition, required ScrollMetrics newPosition, required bool isScrolling, required double velocity, required double adjustPosition, required ChatScrollObserver observer})

Properties

adjustPosition double
The scroll position should be given for new viewport dimensions.
final
hashCode int
The hash code for this object.
no setterinherited
isScrolling bool
Whether the ScrollView is scrolling.
final
newPosition ScrollMetrics
The new position.
final
observer ChatScrollObserver
The ChatScrollObserver instance.
final
oldPosition ScrollMetrics
The old position.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
velocity double
The current velocity of the scroll position.
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