BetterProgress constructor

const BetterProgress({
  1. Key? key,
  2. double percentage = 0,
  3. BetterProgressController? controller,
  4. double? strokeWidth,
  5. Color? color,
  6. Color? trackColor,
  7. bool showPivot = true,
  8. String? pivotText,
  9. Color? pivotColor,
  10. Color pivotTextColor = Colors.white,
  11. TextStyle? pivotTextStyle,
  12. BorderRadiusGeometry? borderRadius,
  13. bool animated = true,
  14. Duration animationDuration = const Duration(milliseconds: 300),
  15. 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,
});