position property

LinearElementPosition position
final

Specifies position of bar pointer with respect to axis.

Defaults to LinearElementPosition.cross.

This snippet shows how to set the bar pointer position in SfLinearGauge.


SfLinearGauge (
barPointers: [
LinearBarPointer(
value: 40,
position: LinearElementPosition.outside,
 )])

Implementation

final LinearElementPosition position;