series property Null safety

FunnelSeries series
final

Customizes the chart series.

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           series: FunnelSeries<_FunnelData, String>(
                         dataSource: data,
                         xValueMapper: (_FunnelData data, _) => data.xData,
                         yValueMapper: (_FunnelData data, _) => data.yData)
       ));
}

Implementation

final FunnelSeries<dynamic, dynamic> series;