needleColor property

Color? needleColor
final

Specifies the needle color

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           gaugeThemeData: SfGaugeThemeData(
             needleColor: Colors.teal
           )
         ),
         child: SfRadialGauge(
           axes: <RadialAxis>[
             RadialAxis(
               radiusFactor: 0.8,
               pointers: <GaugePointer>[
                 NeedlePointer(
                   needleStartWidth: 0,
                   needleEndWidth: 5,
                 )
               ],
             ),
           ],
         )
       ),
     )
  );
}

Implementation

final Color? needleColor;