TickConfettiSpawnOptions constructor
Creates tick-style options (degrees for angle / spread, pixels for velocity).
Implementation
const TickConfettiSpawnOptions({
this.angle = 90,
this.spread = 45,
this.startVelocity = 45,
this.decay = 0.9,
this.gravity = 1,
this.drift = 0,
this.flat = false,
this.scalar = 1,
this.ticks = 200,
}) : assert(decay >= 0 && decay <= 1),
assert(ticks > 0);