moveToTargetAnimated method

void moveToTargetAnimated(
  1. GameComponent target, {
  2. double? zoom,
  3. double? angle,
  4. VoidCallback? finish,
  5. Duration? duration,
  6. Curve curve = widget.Curves.decelerate,
})

Implementation

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