markerAlignment property

  1. @override
LinearMarkerAlignment markerAlignment
final

Specifies the marker alignment.

Defaults to LinearMarkerAlignment.center.

This snippet shows how to set marker alignment inSfLinearGauge.


SfLinearGauge(
markerPointers: [
LinearWidgetPointer(
value: 30,
markerAlignment: LinearMarkerAlignment.end
)])

Implementation

@override
final LinearMarkerAlignment markerAlignment;