positionFromSnapshot method

double? positionFromSnapshot(
  1. UiSnapshot snapshot
)

Like position, but reuses an already-captured snapshot instead of forcing the scroller to capture its own.

Implementation

double? positionFromSnapshot(UiSnapshot snapshot) => position;