CustomLinearProgressIndicator constructor

const CustomLinearProgressIndicator({
  1. Key? key,
  2. double? value,
  3. double? secondaryValue,
  4. Color? backgroundColor,
  5. Color? color,
  6. Animation<Color?>? valueColor,
  7. Color? secondaryColor,
  8. Animation<Color?>? secondaryValueColor,
  9. double? minHeight,
  10. Radius? radius,
  11. String? semanticsLabel,
  12. String? semanticsValue,
})

Creates a linear progress indicator.

Implementation

const CustomLinearProgressIndicator({
  Key? key,
  double? value,
  this.secondaryValue,
  Color? backgroundColor,
  Color? color,
  Animation<Color?>? valueColor,
  this.secondaryColor,
  this.secondaryValueColor,
  this.minHeight,
  this.radius,
  String? semanticsLabel,
  String? semanticsValue,
})  : assert(minHeight == null || minHeight > 0),
      super(
        key: key,
        value: value,
        backgroundColor: backgroundColor,
        color: color,
        valueColor: valueColor,
        semanticsLabel: semanticsLabel,
        semanticsValue: semanticsValue,
      );