RoundedProgressBar constructor
RoundedProgressBar({
- double percent = 40,
- double height = 50,
- required Color color,
- RoundedProgressBarStyle? style,
- required Color backgroundColor,
- EdgeInsetsGeometry? margin,
- bool reverse = false,
- Widget? childCenter,
- Widget? childLeft,
- Widget? childRight,
- int milliseconds = 500,
- BorderRadiusGeometry? borderRadius,
- EdgeInsetsGeometry? paddingChildLeft,
- 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);
}