animatedZoomTo method

Future<void> animatedZoomTo(
  1. double newZoom, {
  2. Curve? curve,
  3. String? customId,
})

Set the zoom level to newZoom.

newZoom must be greater or equal to 0.

If curve is not specified, the one specified in the constructor will be used.

Implementation

Future<void> animatedZoomTo(
  double newZoom, {
  Curve? curve,
  String? customId,
}) {
  return animateTo(zoom: newZoom, curve: curve, customId: customId);
}