mainAxisPosition property

double mainAxisPosition
final

The distance in the AxisDirection from the edge of the sliver's painted area (as given by the SliverConstraints.scrollOffset) to the hit point. This can be an unusual direction, for example in the AxisDirection.up case this is a distance from the bottom of the sliver's painted area.

Implementation

final double mainAxisPosition