selectedColor property

Color selectedColor
final

Color of the selected data points or series.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                 selectionBehavior: SelectionBehavior(
                   selectedColor: Colors.red
                 ),
               ),
             ],
       ));
}

Implementation

final Color selectedColor;