AnimatedLinearProgressIndicator constructor

const AnimatedLinearProgressIndicator({
  1. Key? key,
  2. double? value,
  3. Color? backgroundColor,
  4. Color? color,
  5. Animation<Color?>? valueColor,
  6. double? minHeight,
  7. String? semanticsLabel,
  8. String? semanticsValue,
  9. Duration? animationDuration = const Duration(milliseconds: 500),
  10. Duration? goingBackAnimationDuration = const Duration(milliseconds: 100),
  11. Curve animationCurve = Curves.easeInOut,
})

Implementation

const AnimatedLinearProgressIndicator({
  Key? key,
  double? value,
  Color? backgroundColor,
  Color? color,
  Animation<Color?>? valueColor,
  this.minHeight,
  String? semanticsLabel,
  String? semanticsValue,
  this.animationDuration = const Duration(milliseconds: 500),
  this.goingBackAnimationDuration = const Duration(milliseconds: 100),
  this.animationCurve = Curves.easeInOut,
})  : assert(minHeight == null || minHeight > 0),
      super(
        key: key,
        value: value,
        backgroundColor: backgroundColor,
        color: color,
        valueColor: valueColor,
        semanticsLabel: semanticsLabel,
        semanticsValue: semanticsValue,
      );