selectedBorderColor property Null safety

Color? selectedBorderColor
final

Border 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(
                   selectedBorderColor: Colors.red,
                 ),
               ),
             ],
       ));
}

Implementation

final Color? selectedBorderColor;