scrollsRound function

List<ViewportOffset> scrollsRound(
  1. BuildContext context
)

The scrolls of each Scrollable context is in, nearest first.

Implementation

List<ViewportOffset> scrollsRound(BuildContext context) => [
  for (var s = Scrollable.maybeOf(context); s != null; s = Scrollable.maybeOf(s.context)) s.position,
];