selectedOpacity property
Opacity of the selected series or data point.
Default to 1.0
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <BarSeries<SalesData, num>>[
BarSeries<SalesData, num>(
selectionSettings: SelectionSettings(
selectedOpacity: 0.5,
),
),
],
));
}
Implementation
final double selectedOpacity;