thickness property

double thickness
final

Specifies the thickness of axis line.

You can specify axis line thickness either in logical pixel or radius factor using the thicknessUnit property. if thicknessUnit is GaugeSizeUnit.factor, value must be given from 0 to 1. Here thickness is calculated by thickness * axis radius value.

Example: thickness value is 0.2 and axis radius is 100, thickness is 20(0.2 * 100) logical pixels. If thicknessUnit is GaugeSizeUnit.logicalPixel, the defined value for axis line thickness is set.

Defaults to 10 and thicknessUnit is GaugeSizeUnit.logicalPixel.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
          (axisLineStyle:
          AxisLineStyle(thickness: 20),)]
       ));
}

Implementation

final double thickness;