ScrollOffsetController class

Controller to scroll a certain number of pixels relative to the current scroll offset.

Scrolls offset pixels relative to the current scroll offset. offset can be positive or negative.

This is an experimental API and is subject to change. Behavior may be ill-defined in some cases. Please file bugs.

Constructors

ScrollOffsetController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animateScroll({required double offset, required Duration duration, Curve curve = Curves.linear}) Future<void>
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