LiquidLinearProgressIndicator constructor
LiquidLinearProgressIndicator({})
Implementation
LiquidLinearProgressIndicator({
Key? key,
double value = 0.5,
Color? backgroundColor,
Animation<Color>? valueColor,
this.borderWidth,
this.borderColor,
this.borderRadius,
this.center,
this.direction = Axis.horizontal,
}) : super(
key: key,
value: value,
backgroundColor: backgroundColor,
valueColor: valueColor,
) {
if (borderWidth != null && borderColor == null ||
borderColor != null && borderWidth == null) {
throw ArgumentError("borderWidth and borderColor should both be set.");
}
}