maximumZoomLevel property Null safety

double maximumZoomLevel
final

Maximum zoom level.

Zooming will be stopped after reached this value and ranges from 0 to 1.

Defaults to null.

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

Implementation

final double maximumZoomLevel;