CameraSceneAction.target constructor
CameraSceneAction.target(
- GameComponent? target, {
- dynamic id,
- Duration duration = const Duration(seconds: 1),
- double? zoom,
- double? angle,
- Curve curve = widget.Curves.decelerate,
Implementation
CameraSceneAction.target(
this.target, {
dynamic id,
this.duration = const Duration(seconds: 1),
this.zoom,
this.angle,
this.curve = widget.Curves.decelerate,
}) : position = null,
super(id);