scrollOffsetOf abstract method

  1. @protected
double scrollOffsetOf(
  1. RenderSliver child,
  2. double scrollOffsetWithinChild
)

Returns the scroll offset within the viewport for the given scrollOffsetWithinChild within the given child.

The returned value is an estimate that assumes the slivers within the viewport do not change the layout extent in response to changes in their scroll offset.

Implementation

@protected
double scrollOffsetOf(RenderSliver child, double scrollOffsetWithinChild);