needleColor property
Specifies the color of the needle pointer.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis
( pointers: <GaugePointer>[
NeedlePointer( color: Colors.blue, value: 30
)])]
));
}
Implementation
final Color? needleColor;