offset property

  1. @override
double offset
final

Specifies the offset for shape pointer with respect to axis. The offset cannot be negative. The offset value will not be effective when the shape pointer is in cross position.

Defaults to 0.

This snippet shows how to set margin value for shape pointers.


SfLinearGauge (
markerPointers: [
LinearShapePointer(
value: 50,
margin: 10
 )])

Implementation

@override
final double offset;