layoutOffset property

double layoutOffset
read / write

The position of the child relative to the zero scroll offset.

The number of pixels from from the zero scroll offset of the parent sliver (the line at which its SliverConstraints.scrollOffset is zero) to the side of the child closest to that offset.

In a typical list, this does not change as the parent is scrolled.

Implementation

double layoutOffset = 0.0