MoveEffect.to constructor
MoveEffect.to(
- Vector2 destination,
- EffectController controller, {
- PositionProvider? target,
- void onComplete()?,
- ComponentKey? key,
Implementation
factory MoveEffect.to(
Vector2 destination,
EffectController controller, {
PositionProvider? target,
void Function()? onComplete,
ComponentKey? key,
}) =>
MoveToEffect(
destination,
controller,
target: target,
onComplete: onComplete,
key: key,
);