startWidth property

double startWidth
final

Specifies the range start width.

You can specify range start width either in logical pixel or radius factor using the sizeUnit property. if sizeUnit is GaugeSizeUnit.factor, value must be given from 0 to 1. Here range start width is calculated by startWidth * axis radius value.

Example: startWidth value is 0.2 and axis radius is 100, range start width is 20(0.2 * 100) logical pixels. if sizeUnit is GaugeSizeUnit.logicalPixel, the defined value is set for the start width of the range.

Defaults to 10 and sizeUnit is GaugeSizeUnit.logicalPixel

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
         ranges: <GaugeRange>[GaugeRange(startValue: 50,
         endValue: 100, startWidth: 20)],
           )]
       ));
}

Implementation

final double startWidth