CameraSceneAction.position constructor

CameraSceneAction.position(
  1. Vector2? position, {
  2. dynamic id,
  3. Duration duration = const Duration(seconds: 1),
  4. double? zoom,
  5. double? angle,
  6. Curve curve = widget.Curves.decelerate,
})

Implementation

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