onPointDoubleTap property Null safety

ChartPointInteractionCallback? onPointDoubleTap
final

Called when double tapped on the chart data point.

The user can fetch the series index, point index, viewport point index and data of the double-tapped data point.

Widget build(BuildContext context) {
   ChartSeriesController _chartSeriesController;
   return Container(
       child: SfCartesianChart(
           series: <LineSeries<SalesData, num>>[
               LineSeries<SalesData, num>(
                   onPointDoubleTap: (ChartPointDetails details) {
                      print(details.pointIndex);
                   },
               ),
             ],
       ));
}

Implementation

final ChartPointInteractionCallback? onPointDoubleTap;