IconRoundedProgressBar constructor

IconRoundedProgressBar({
  1. required Widget icon,
  2. double widthIconSection = 50,
  3. double percent = 40,
  4. double height = 50,
  5. RoundedProgressBarStyle? style,
  6. RoundedProgressBarTheme? theme,
  7. EdgeInsetsGeometry? margin,
  8. bool reverse = false,
  9. Widget? childCenter,
  10. Widget? childLeft,
  11. Widget? childRight,
  12. int milliseconds = 500,
  13. BorderRadiusGeometry? borderRadius,
  14. EdgeInsetsGeometry? paddingChildLeft,
  15. 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);
}