LiquidProgressIndicator.linear constructor

const LiquidProgressIndicator.linear({
  1. Key? key,
  2. double? value = 0.5,
  3. Color? backgroundColor,
  4. Color? color,
  5. Animation<Color?>? valueColor,
  6. double? borderWidth = 0,
  7. Color? borderColor = Colors.transparent,
  8. double borderRadius = 0,
  9. Widget? center,
  10. Axis direction = Axis.horizontal,
})

Implementation

const LiquidProgressIndicator.linear({
  super.key,
  super.value = 0.5,
  super.backgroundColor,
  super.color,
  super.valueColor,
  this.borderWidth = 0,
  this.borderColor = Colors.transparent,
  this.borderRadius = 0,
  this.center,
  this.direction = Axis.horizontal,
})  : shapePath = null,
      type = LiquidProgressIndicatorType.linear;