GaugeBasicProgressBar constructor

const GaugeBasicProgressBar({
  1. Color? color,
  2. GaugeAxisGradient? gradient,
  3. Shader? shader,
  4. 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',
      );