RoundedProgressBar constructor

RoundedProgressBar({
  1. double? percent = 40,
  2. double? height = 50,
  3. required Color? color,
  4. RoundedProgressBarStyle? style,
  5. required Color? backgroundColor,
  6. EdgeInsetsGeometry? margin,
  7. bool? reverse = false,
  8. Widget? childCenter,
  9. Widget? childLeft,
  10. Widget? childRight,
  11. int? milliseconds = 500,
  12. BorderRadiusGeometry? borderRadius,
  13. EdgeInsetsGeometry? paddingChildLeft,
  14. EdgeInsetsGeometry? paddingChildRight,
})

Implementation

RoundedProgressBar(
    {this.percent = 40,
    this.height = 50,
    required this.color,
    this.style,
    required this.backgroundColor,
    this.margin,
    this.reverse = false,
    this.childCenter,
    this.childLeft,
    this.childRight,
    this.milliseconds = 500,
    this.borderRadius,
    this.paddingChildLeft,
    this.paddingChildRight}) {
  assert(percent! >= 0);
  assert(height! > 0);
}