customLabels property
customLabels
allows for the creation of custom tick labels on the gauge's scale,
enabling the display of non-standard values or units, and allowing for more specific
labelling of the gauge's range
Note : start and end of the [LinearGauge] will be overridden by first & last value of customLabels
Example
child: const LinearGauge(
customLabels:[
CustomRulerLabel(text: "1%", value: 10),
CustomRulerLabel(text: "2%", value:20),
CustomRulerLabel(text: "2.5%", value: 25),
CustomRulerLabel(text: "3%", value: 30),
]
),
Implementation
final List<CustomRulerLabel>? customLabels;