tickOffset property

double tickOffset

Adjusts the axis ticks distance from the axis line.

You can specify value either in logical pixel or radius factor using the offsetUnit property. if offsetUnit is GaugeSizeUnit.factor, value will be given from 0 to 1. Here ticks placing position is calculated by tickOffset * axis radius value.

Example: tickOffset value is 0.2 and axis radius is 100, ticks moving 20(0.2 * 100) logical pixels from axis line. If offsetUnit is GaugeSizeUnit.logicalPixel, the defined value distance ticks will move from the axis line.

Defaults to 0 and offsetUnit is GaugeSizeUnit.logicalPixel.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
          tickOffset: 20


final double tickOffset;