markerAlignment property

  1. @override
LinearMarkerAlignment markerAlignment
final

Specifies the alignment for shape marker pointer.

Defaults to LinearMarkerAlignment.center.

This snippet shows how to set a shape to shape-pointer.


SfLinearGauge (
markerPointers: [
LinearShapePointer(
value: 50,
markerAlignment: LinearMarkerAlignment.end
 )])

Implementation

@override
final LinearMarkerAlignment markerAlignment;