angle property Null safety

int angle
final

Rotation angle of the data label.

Defaults to 0

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

Implementation

final int angle;