isVisible property

bool? isVisible
final

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;