trackColor property Null safety

Color trackColor
final, inherited

Color of the track.

Defaults to Colors.grey.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <StackedColumnSeries<SalesData, num>>[
      StackedColumnSeries<SalesData, num>(
        isTrackVisible: true,
        trackColor: Colors.red
      ),
    ],
  );
}

Implementation

final Color trackColor;