onPointTapped property Null safety

FunnelPointTapCallback? onPointTapped
final

Occurs when tapping a series point. Here, you can get the series, series index and point index.

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           onPointTapped: (PointTapArgs args) => point(args),
       ));
}
void point(PointTapArgs args) {
  print(args.pointIndex);
}

Implementation

final FunnelPointTapCallback? onPointTapped;