useRangeColorForAxis property
Whether to use the range color for axis elements such as labels and ticks.
Defaults to false
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
useRangeColorForAxis : true,
ranges: <GaugeRange>[GaugeRange(
startValue: 50,
endValue: 100)],
)]
));
}
Implementation
final bool useRangeColorForAxis;