length property

double length

Specifies the length of the tick.

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

Example: length value is 0.2 and axis radius is 100, tick length is 20(0.2 * 100) logical pixels. if lengthUnit is GaugeSizeUnit.logicalPixel, defined value is set to the tick length.

Defaults to 7 and lengthUnit is GaugeSizeUnit.logicalPixel.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
             MajorTickStyle(length: 10),)]


final double length;