MoveEffect.by constructor

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

Implementation

factory MoveEffect.by(
  Vector2 offset,
  EffectController controller, {
  PositionProvider? target,
  void Function()? onComplete,
  ComponentKey? key,
}) =>
    MoveByEffect(
      offset,
      controller,
      target: target,
      onComplete: onComplete,
      key: key,
    );