AnchorEffect.by constructor

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

Implementation

factory AnchorEffect.by(
  Vector2 offset,
  EffectController controller, {
  AnchorProvider? target,
  void Function()? onComplete,
  ComponentKey? key,
}) =>
    AnchorByEffect(
      offset,
      controller,
      target: target,
      onComplete: onComplete,
      key: key,
    );