strokeAlign property

double? strokeAlign
final

The relative position of the stroke on a CircularProgressIndicator.

Values typically range from -1.0 (strokeAlignInside, inside stroke) to 1.0 (strokeAlignOutside, outside stroke), without any bound constraints (e.g., a value of -2.0 is not typical, but allowed). A value of 0 (strokeAlignCenter) will center the border on the edge of the widget.

If year2023 is true, then the default value is strokeAlignCenter. Otherwise, the default value is strokeAlignInside.

Implementation

final double? strokeAlign;