name property Null safety

String? name
final, inherited

Name of the series.

Defaults to ''

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           series: FunnelSeries<ChartData, String>(
               name: 'Pyramid'
       ));
}

Implementation

@override
final String? name;