sizeUnit property

GaugeSizeUnit sizeUnit
final

Calculates the range position and size either in logical pixel or radius factor.

Using GaugeSizeUnit, range position and size is calculated.

Defaults to GaugeSizeUnit.logicalPixel.

Also refer GaugeSizeUnit.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
         ranges: <GaugeRange>[GaugeRange(startValue: 50,
         endValue: 100, rangeOffset: 0.1,
         sizeUnit: GaugeSizeUnit.factor)],
           )]
       ));
}

Implementation

final GaugeSizeUnit sizeUnit;