GaugeBasicProgressBar constructor
const
GaugeBasicProgressBar({
- Color? color,
- GaugeAxisGradient? gradient,
- Shader? shader,
- GaugeProgressPlacement placement = GaugeProgressPlacement.over,
Implementation
const GaugeBasicProgressBar({
this.color,
this.gradient,
this.shader,
this.placement = GaugeProgressPlacement.over,
}) : assert(
color != null || gradient != null || shader != null,
'color, gradient or shader is required',
);