offset property

  1. @override
double offset
final

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: [
LinearWidgetPointer(
value: 50,
margin: 15
 )])

Implementation

@override
final double offset;