DDSProgressIndicator constructor

const DDSProgressIndicator({
  1. Key? key,
  2. AnimationController? controller,
  3. ProgressIndicatorVariant variant = ProgressIndicatorVariant.linear,
  4. bool indeterminate = true,
  5. Color valueColor = ThemeColors.primary,
  6. Color backgroundColor = const Color(0xFFFACDBE),
  7. Duration duration = const Duration(seconds: 3),
  8. double size = 100.0,
  9. int? currentValue,
  10. int? totalValue,
  11. double thickness = 4.0,
  12. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  13. bool showProgress = false,
})

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})
    : super(key: key);