selectionBehavior property

  1. @override
SelectionBehavior selectionBehavior
finalinherited

Customizes the selection of series.

SelectionBehavior _selectionBehavior;

void initState() {
  _selectionBehavior = SelectionBehavior(enable: true);
  super.initState();
}

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           series: FunnelSeries<ChartData, String>(
              selectionBehavior: _selectionBehavior
            )
       )
  );
}

Implementation

@override
final SelectionBehavior selectionBehavior;