alignment property

double alignment
final

Describes where the widget should be positioned after applying scroll animation.

If alignment is 0.0, the child must be positioned as close to the leading edge of the viewport as possible. If alignment is 1.0, the child must be positioned as close to the trailing edge of the viewport as possible. If alignment is 0.5, the child must be positioned as close to the center of the viewport as possible.

This is only used if alignmentPolicy is ScrollPositionAlignmentPolicy.explicit

Implementation

final double alignment = 0.0;