selectionBehavior property

  1. @override
SelectionBehavior selectionBehavior
finalinherited

Customizes the selection of series.

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

Implementation

@override
final SelectionBehavior selectionBehavior;