moveToTargetAnimated method
void
moveToTargetAnimated(
- GameComponent target, {
- double? zoom,
- double? angle,
- VoidCallback? finish,
- Duration? duration,
- 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,
);
}