Og1ProgressBar constructor
const
Og1ProgressBar({
- Key? key,
- double percent = 0.0,
- Color? progressColor,
- Color fillColor = Colors.transparent,
- LinearGradient? linearGradient,
- double lineHeight = 20.0,
- double width = 140,
- Radius barRadius = const Radius.circular(16),
- MaskFilter? maskFilter,
- bool isRTL = false,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 10.0),
- Widget? leading,
- Widget? trailing,
- Widget? widgetIndicatior,
- bool animation = true,
- 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);