position property

ScrollPosition position

The manager for this Scrollable widget's viewport position.

To control what kind of ScrollPosition is created for a Scrollable, provide it with custom ScrollController that creates the appropriate ScrollPosition in its ScrollController.createScrollPosition method.

Implementation

ScrollPosition get position => _position!;