knobStyle property

KnobStyle knobStyle
final

The style to use for the needle knob.

A knob is a rounded ball at the end of an needle or arrow which style customized by knobStyle.

Defaults to the knobStyle property with knobRadius is 0.08 radius factor.

Also refer KnobStyle.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
         ( pointers: <GaugePointer>[
            NeedlePointer( value: 30,
             knobStyle: KnobStyle(knobRadius: 0.1),
          )])]
       ));
}

Implementation

final KnobStyle knobStyle;