ConfettiShowcase enum

Eight curated tick bursts for showcase scenarios (basic cannon, random direction, dualLaunch, starField, emojiPop, school pride, manual launch/kill, bounded emitter).

All modes use tick-style simulation (TickConfettiPhysics). Multi-shot patterns (dualLaunch timer, starField triple-tap, school-pride stream) are represented by one representative burst here; repeat via Timer in your app for continuous effects.

Inheritance
Available extensions

Values

centerPop → const ConfettiShowcase

particleCount: 100, spread: 70, origin y ≈ 0.6.

randomAngle → const ConfettiShowcase

Random angle (55°–125°), spread (50°–70°), count (50–100), y ≈ 0.6.

dualLaunch → const ConfettiShowcase

One dual-emitter wave like a dual-emitter tick (spread: 360, ticks: 60). For the full decreasing-count timer effect, call Timer.periodic yourself.

starField → const ConfettiShowcase

Warm palette, spread: 360, gravity: 0, ticks: 50, star shapes + mixed scalar.

emojiPop → const ConfettiShowcase

Same motion as starField with ParticleShape.emoji; supply strings via ConfettiWidget.emojiPool.

dualStream → const ConfettiShowcase

Red / white dual cannons from left and right edges (angle 60° / 120°).

controlledBurst → const ConfettiShowcase

Same particles as centerPop; pair with ConfettiController + ConfettiController.kill.

inlineEmitter → const ConfettiShowcase

Bottom-centered burst (y ≈ 1); place ConfettiWidget in a ClipPath / small stack for UI parity.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ConfettiShowcase>
A constant List of the values in this enum, in order of their declaration.