trackColor property Null safety

Color trackColor
final

Color of the track.

Defaults to grey

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                 isTrackVisible: true,
                 trackColor: Colors.red
               ),
             ],
       ));
}

Implementation

final Color trackColor;