RotatingParticle constructor

RotatingParticle({
  1. required Particle child,
  2. double from = 0,
  3. double to = 2 * pi,
  4. double? lifespan,
})

Implementation

RotatingParticle({
  required this.child,
  this.from = 0,
  this.to = 2 * pi,
  double? lifespan,
}) : super(
        lifespan: lifespan,
      );