offset property
Specifies the offset for bar pointer with respect to axis. The offset cannot be negative. The offset value will not be effective when the bar pointer is in cross position.
Defaults to 0.
This snippet shows how to set margin value for bar pointer.
SfLinearGauge (
barPointers: [
LinearBarPointer(
value: 40,
offset: 10,
)])
Implementation
final double offset;