selectionSettings property

  1. @override
SelectionSettings selectionSettings
final

Customizes the selection of series.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
          series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 selectionSettings: SelectionSettings(
                   selectedColor: Colors.red,
                   unselectedColor: Colors.grey
                 ),
               ),
             ],
       ));
}

Implementation

@override
// ignore: deprecated_member_use_from_same_package
final SelectionSettings selectionSettings;