Particle constructor
Particle({})
Crea una nueva partícula con parámetros configurables.
La partícula se inicializa automáticamente con posición, velocidad, tamaño y color aleatorios mediante reset.
Implementation
Particle({
required this.colors,
this.heightFactor = 4,
this.velocityFactor = 1.5,
this.maxWidth = 800,
this.maxHeight = 800,
this.velocityYDirection = 1,
this.velocityXDirection = 1,
}) {
reset();
}