components/percent_indicator library

Classes

UCircularPercentIndicator
Animated circular progress with a center widget. UCircularPercentIndicator(radius: 40, percent: 0.7, center: const Text("70%"))
ULinearPercentIndicator
Animated progress bar with leading/trailing/center widgets. ULinearPercentIndicator(percent: 0.4, lineHeight: 8)

Enums

UArcType
Arc style of UCircularPercentIndicator: half (180°) or full.
UCircularStrokeCap
End shape of the progress line: round, square or butt.

Extensions

CircularStrokeCapExtension on UCircularStrokeCap
Converts UCircularStrokeCap to a StrokeCap.

Functions

radians(num deg) → num
Degrees → radians. radians(90)