Particle constructor

const Particle(
  1. double dx,
  2. double dy,
  3. double size,
  4. Color color,
  5. double life,
  6. double speed,
  7. double angle,
  8. Rect rect,
)

Implementation

const Particle(
  super.dx,
  super.dy,
  this.size,
  this.color,
  this.life,
  this.speed,
  this.angle,
  this.rect,
);