RenderLinearProgressIndicator constructor

RenderLinearProgressIndicator({
  1. required double? value,
  2. required double animValue,
  3. required Color backgroundColor,
  4. required Color color,
  5. int? indicatorWidth,
})

Creates a RenderLinearProgressIndicator with the given value and colors.

Implementation

RenderLinearProgressIndicator({
  required double? value,
  required double animValue,
  required Color backgroundColor,
  required Color color,
  int? indicatorWidth,
})  : _value = value ?? 0.0,
      _animValue = animValue,
      _backgroundColor = backgroundColor,
      _color = color,
      _indicatorWidth = indicatorWidth;