valueBar property

List<ValueBar>? valueBar
final

valueBar takes the list of ValueBar to render the value bar/s

const LinearGauge(
 valueBar: [
  ValueBar(
   value: 25,
  color: Colors.green,
 ),
],

Implementation

final List<ValueBar>? valueBar;