sizeUnit property

GaugeSizeUnit sizeUnit
final

Calculates the knob radius size either in logical pixel or radius factor.

Using GaugeSizeUnit, pointer knob radius size is calculated.

Defaults to GaugeSizeUnit.factor.

Also refer GaugeSizeUnit

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
         ( pointers: <GaugePointer>[
            NeedlePointer(
                knobStyle: KnobStyle(knobRadius: 10,
                sizeUnit: GaugeSizeUnit.logicalPixel),
          )])]
       ));
}

Implementation

final GaugeSizeUnit sizeUnit;