animateZoom method

void animateZoom({
  1. required double zoom,
  2. Duration? duration,
  3. VoidCallback? finish,
  4. Curve curve = widget.Curves.decelerate,
})

Implementation

void animateZoom({
  required double zoom,
  Duration? duration,
  VoidCallback? finish,
  widget.Curve curve = widget.Curves.decelerate,
}) {
  (this as BonfireCamera).animateZoom(
    zoom: zoom,
    finish: finish,
    duration: duration,
    curve: curve,
  );
}