Og1ProgressBar constructor

const Og1ProgressBar({
  1. Key? key,
  2. double percent = 0.0,
  3. Color? progressColor,
  4. Color fillColor = Colors.transparent,
  5. LinearGradient? linearGradient,
  6. double lineHeight = 20.0,
  7. double width = 140,
  8. Radius barRadius = const Radius.circular(16),
  9. MaskFilter? maskFilter,
  10. bool isRTL = false,
  11. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 10.0),
  12. Widget? leading,
  13. Widget? trailing,
  14. Widget? widgetIndicatior,
  15. bool animation = true,
  16. int animationDuration = 1000,
})

Implementation

const Og1ProgressBar(
    {Key? key,
    this.percent = 0.0,
    this.progressColor,
    this.fillColor = Colors.transparent,
    this.linearGradient,
    this.lineHeight = 20.0,
    this.width = 140,
    this.barRadius = const Radius.circular(16),
    this.maskFilter,
    this.isRTL = false,
    this.padding = const EdgeInsets.symmetric(horizontal: 10.0),
    this.leading,
    this.trailing,
    this.widgetIndicatior,
    this.animation = true,
    this.animationDuration = 1000})
    : super(key: key);