AnchorEffect.to constructor

AnchorEffect.to({
  1. required Anchor destination,
  2. required EffectController controller,
  3. bool? cleanup,
  4. bool? enabled,
})

Anchors the closest AnchorOwner ancestor to destination.

Implementation

factory AnchorEffect.to({
  required Anchor destination,
  required EffectController controller,
  bool? cleanup,
  bool? enabled,
}) = _AnchorToEffect;