MovingParticle constructor
MovingParticle({})
Implementation
MovingParticle({
required this.child,
required this.to,
Vector2? from,
double? lifespan,
Curve curve = Curves.linear,
}) : from = from ?? Vector2.zero(),
super(lifespan: lifespan, curve: curve);