thicknessUnit property
Calculates the axis line thickness either in logical pixel or radius factor.
Using GaugeSizeUnit, axis line thickness is calculated.
Defaults to GaugeSizeUnit.logicalPixel
.
Also refer GaugeSizeUnit.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis
(axisLineStyle:
AxisLineStyle(thickness: 0.2,
thicknessUnit: GaugeSizeUnit.factor),)]
));
}
Implementation
final GaugeSizeUnit thicknessUnit;