BetterProgress constructor
const
BetterProgress({
- Key? key,
- double percentage = 0,
- BetterProgressController? controller,
- double? strokeWidth,
- Color? color,
- Color? trackColor,
- bool showPivot = true,
- String? pivotText,
- Color? pivotColor,
- Color pivotTextColor = Colors.white,
- TextStyle? pivotTextStyle,
- BorderRadiusGeometry? borderRadius,
- bool animated = true,
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve animationCurve = Curves.easeOut,
Implementation
const BetterProgress({
super.key,
this.percentage = 0,
this.controller,
this.strokeWidth,
this.color,
this.trackColor,
this.showPivot = true,
this.pivotText,
this.pivotColor,
this.pivotTextColor = Colors.white,
this.pivotTextStyle,
this.borderRadius,
this.animated = true,
this.animationDuration = const Duration(milliseconds: 300),
this.animationCurve = Curves.easeOut,
});