anchor property

double anchor
final, inherited

The relative position of the zero scroll offset.

For example, if anchor is 0.5 and the axisDirection is AxisDirection.down or AxisDirection.up, then the zero scroll offset is vertically centered within the viewport. If the anchor is 1.0, and the axisDirection is AxisDirection.right, then the zero scroll offset is on the left edge of the viewport.


final double anchor