color property

Color? color
final

Specifies the solid color of bar pointers.

Defaults to Color(0xff0074E3).

This snippet shows how to set the color for bar pointer.


SfLinearGauge (
barPointers: [
LinearBarPointer(
 color: Colors.red,
 )])

Implementation

final Color? color;