length property

double length
final

Specifies the length of major and minor ticks.

Defaults to 8.0 for majorTicks and 4.0 for minorTicks.

This snippet shows how to set tick length.


SfLinearGauge(majorTickStyle: LinearTickStyle(
length: 20,),
minotTickStyle: LinearTickStyle(
length: 10,)
)

Implementation

final double length;