offsetUnit property
Calculates the position either in logical pixel or radius factor.
Using GaugeSizeUnit, axis ticks and label position is calculated.
Defaults to GaugeSizeUnit.logicalPixel
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
labelOffset: 0.3, offsetUnit: GaugeSizeUnit.factor
)]
));
}
Implementation
final GaugeSizeUnit offsetUnit;