DDSProgressIndicator constructor
const
DDSProgressIndicator({
- Key? key,
- AnimationController? controller,
- ProgressIndicatorVariant variant = ProgressIndicatorVariant.linear,
- bool indeterminate = true,
- Color valueColor = ThemeColors.primary,
- Color backgroundColor = const Color(0xFFFACDBE),
- Duration duration = const Duration(seconds: 3),
- double size = 100.0,
- int? currentValue,
- int? totalValue,
- double thickness = 4.0,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- bool showProgress = false,
- DiscreteProgressTextVariant textVariant = DiscreteProgressTextVariant.fraction,
Implementation
const DDSProgressIndicator({
Key? key,
this.controller,
this.variant = ProgressIndicatorVariant.linear,
this.indeterminate = true,
this.valueColor = ThemeColors.primary,
this.backgroundColor = const Color(0xFFFACDBE),
this.duration = const Duration(seconds: 3),
this.size = 100.0,
this.currentValue,
this.totalValue,
this.thickness = 4.0,
this.borderRadius = BorderRadius.zero,
this.showProgress = false,
this.textVariant = DiscreteProgressTextVariant.fraction,
}) : super(key: key);