enablePanning property Null safety

bool enablePanning
final

Enables or disables the panning.

Panning can be performed on a zoomed axis.

Defaults to false.

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

Implementation

final bool enablePanning;