leadingMarginToViewport property
double
leadingMarginToViewport
The margin from the top of the child widget to the viewport.
Implementation
double get leadingMarginToViewport =>
layoutOffset + precedingScrollExtent - viewportPixels;