enablePinching property Null safety

bool enablePinching

Enables or disables the pinch zooming.

Pinching can be performed by moving two fingers over the chart. You can zoom the chart through pinch gesture in touch enabled devices.

Defaults to false.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          zoomPanBehavior: ZoomPanBehavior(enablePinchZooming: true),


final bool enablePinching;