positions property Null safety

Iterable<ScrollPosition> positions

The currently attached positions.

This should not be mutated directly. ScrollPosition objects can be added and removed using attach and detach.

Implementation

Iterable<ScrollPosition> get positions => _positions;