offset property

  1. @override
double offset

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

Defaults to 0.

This snippet shows how to set margin value for widget marker pointers inSfLinearGauge.

SfLinearGauge (
markerPointers: [
value: 50,
margin: 15


final double offset;