scrollOffsetOf method Null safety
- RenderSliver child,
- double scrollOffsetWithinChild
protected">@protected
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);