color property

Color? color
final

Specifies the knob color.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
         ( pointers: <GaugePointer>[
            NeedlePointer(
             knobStyle: KnobStyle(color: Colors.red),
          )])]
       ));
}

Implementation

final Color? color;