name property

  1. @override
String? name
final

Name of the series.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
             PieSeries<ChartData, String>(
               name: 'default',
             ),
          ],
       )
   );
}

Implementation

@override
final String? name;