MoveByEffect constructor

MoveByEffect(
  1. Vector2 offset,
  2. EffectController controller, {
  3. PositionProvider? target,
  4. void onComplete()?,
  5. ComponentKey? key,
})

Implementation

MoveByEffect(
  Vector2 offset,
  EffectController controller, {
  PositionProvider? target,
  void Function()? onComplete,
  super.key,
})  : _offset = offset.clone(),
      super(controller, target, onComplete: onComplete);