selectionBehavior property
Customizes the selection of series.
SelectionBehavior _selectionBehavior;
void initState() {
_selectionBehavior = SelectionBehavior(enable: true);
super.initState();
}
Widget build(BuildContext context) {
return Container(
child: SfPyramidChart(
series: PyramidSeries<ChartData, String>(
selectionBehavior: _selectionBehavior,
)
)
);
}
Implementation
@override
final SelectionBehavior selectionBehavior;