IconRoundedProgressBar constructor
IconRoundedProgressBar({
- required Widget icon,
- double widthIconSection = 50,
- double percent = 40,
- double height = 50,
- RoundedProgressBarStyle? style,
- RoundedProgressBarTheme? theme,
- EdgeInsetsGeometry? margin,
- bool reverse = false,
- Widget? childCenter,
- Widget? childLeft,
- Widget? childRight,
- int milliseconds = 500,
- BorderRadiusGeometry? borderRadius,
- EdgeInsetsGeometry? paddingChildLeft,
- EdgeInsetsGeometry? paddingChildRight,
Implementation
IconRoundedProgressBar({
required this.icon,
this.widthIconSection = 50,
this.percent = 40,
this.height = 50,
this.style,
this.theme,
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);
}