isVisible property Null safety

bool isVisible
final

Toggles the visibility of the data label in the series.

Defaults to false

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <SplineSeries<SalesData, num>>[
               SplineSeries<SalesData, num>(
                 dataLabelSettings: DataLabelSettings(
                      isVisible: true)
             ],
       ));
}

Implementation

final bool isVisible;