color property
Specifies the color of ticks.
Defaults to Colors.black26 in Light theme and Colors.white30 in Dark theme for major ticks. Defaults to Colors.black26 in Light theme and Colors.white30 in Dark theme for major ticks.
This snippet shows how to set color of ticks.
SfLinearGauge(majorTickStyle: LinearTickStyle(
color: Colors.blue),
minorTickStyle: LinearTickStyle(
color: Colors.green),
)
Implementation
final Color? color;