color property

Color? color
final

Specifies the color to be applied for an axis track.

Defaults to Colors.black12 in LightTheme and Colors.white24 in DarkTheme.

This snippet shows how to set the color for an axis track.


SfLinearGauge(
axisLineStyle: LinearAxisLineStyle(
color: Colors.green )
)

Implementation

final Color? color;