dataLabelSettings property Null safety

DataLabelSettings dataLabelSettings
final, inherited

Customizes the data labels in a series. Data label is a text, which displays the details about the data point.

Widget build(BuildContext context) {
   return Container(
       child: SfPyramidChart(
           series: PyramidSeries<ChartData, String>(
              dataLabelSettings: DataLabelSettings(isVisible: true),
            )
       )
   );
}

Implementation

@override
final DataLabelSettings dataLabelSettings;