maxZoom method

  1. @override
Future<double> maxZoom()
override

The maximum zoom value of a device.

Implementation

@override
Future<double> maxZoom() async {
  verifyInitialized();
  verifyNotDisposed();
  final List<int> zoomRatios = await cameraParameters.getZoomRatios();
  return zoomRatios.last / 100;
}