isVisible property
Toggles the visibility of the legend.
Defaults to false
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true)
));
}
Implementation
final bool? isVisible;