legend property Null safety

Legend legend
final

Customizes the legend in the chart

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           legend: Legend(isVisible: true)
       ));
}

Implementation

final Legend legend;