setZoomLevel method

Future<void> setZoomLevel(
  1. double zoomLevel
)

Sets the camera zoom level to a specific value.

The zoom level must be within the supported range of the camera. Typical values are 0.5x, 1.0x, 2.0x, 3.0x, etc. It delegates to the effective controller's setZoomLevel method. Returns a Future that completes when the zoom level has been set.

Implementation

Future<void> setZoomLevel(double zoomLevel) {
  return _effectiveController.setZoomLevel(zoomLevel);
}