RadialValueBar constructor

const RadialValueBar({
  1. Key? key,
  2. required double value,
  3. Color color = Colors.blue,
  4. double valueBarThickness = 10,
  5. LinearGradient? gradient,
  6. double radialOffset = 0,
})

RadialValueBar is used to render the value bar in the RadialGauge.

 RadialGauge(
 valueBar: RadialValueBar(
  value: 10,
 color: Colors.blue,
      ),
   ),

Implementation

const RadialValueBar({
  Key? key,
  required this.value,
  this.color = Colors.blue,
  this.valueBarThickness = 10,
  this.gradient,
  this.radialOffset = 0,
}) : super(key: key);