selectionSettings property Null safety

SelectionSettings selectionSettings
final, inherited

Customizes the selection of series.

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

Implementation

@override
// ignore: deprecated_member_use_from_same_package
final SelectionSettings selectionSettings;