DualParticleRayAnimator constructor

DualParticleRayAnimator({
  1. int rayCount = 16,
  2. double rayLength = 70.0,
  3. double rayWidth = 2.2,
  4. double distanceFactor = 1.8,
  5. bool randomizeRays = true,
  6. double glowIntensity = 0.8,
  7. double glowRadius = 4.0,
  8. bool enableImplosion = true,
  9. bool enableExplosion = true,
  10. double speedFactor = 1.5,
})

Implementation

DualParticleRayAnimator({
  this.rayCount = 16,
  this.rayLength = 70.0,
  this.rayWidth = 2.2,
  this.distanceFactor = 1.8, // Seberapa jauh rays dari tepi widget
  this.randomizeRays = true,
  this.glowIntensity = 0.8,
  this.glowRadius = 4.0,
  this.enableImplosion = true,
  this.enableExplosion = true,
  this.speedFactor = 1.5, // 1.5x lebih cepat dari normal
}) {
  _initRays();
}