opacity property
final
Opacity of the legend. The value ranges from 0 to 1.
Defaults to 1
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
opacity: 0.5)
));
}
Implementation
final double opacity