color property
The color
sets the color of the ValueBar.
The default value of color
is Colors.blue
.
const LinearGauge(
valueBar: [
ValueBar(
value: 50,
position: ValueBarPosition.top,
color: Colors.amber,
),
],
),
Implementation
final Color color;