Particle constructor

Particle({
  1. required Size area,
  2. required Vector2 position,
  3. required Vector2 basePosition,
  4. required Vector2 velocity,
  5. required double radius,
  6. required double baseRadius,
})

Implementation

Particle({
  required this.area,
  required this.position,
  required this.basePosition,
  required this.velocity,
  required this.radius,
  required this.baseRadius,
});