sweepAngle property

double sweepAngle
latefinal

Returns angle where the text rendering stops.

Zero radians is the point on the right hand side of the circle and positive angles goes clockwise.

Whether it is start or end of the text depends on direction, but it's always correct to assume that startAngle + sweepAngle == finalAngle.

Implementation

late final double sweepAngle = _calculateSweepAngle(
  _textPainter,
  _textStyle,
  _effectiveRadius,
  _text,
  _interLetterAngle,
);