color property

Color? color
final

Specifies the color for shape marker pointer.

Defaults to Colors.black54 in LightTheme and Colors.white70 in DarkTheme.

This snippet shows how to set color for a shape pointer.


SfLinearGauge (
markerPointers: [
LinearShapePointer(
color: Colors.grey
 )])

Implementation

final Color? color;