BurstEmitterController class

Controller for manually triggering a BurstEmitter.

Pass this to BurstEmitter.controller and call trigger() from gesture callbacks, game events, or any external logic.

Constructors

BurstEmitterController()

Properties

hashCode int
The hash code for this object.
no setterinherited
hasPendingTrigger bool
no setter
isStopped bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

consumeTrigger() bool
Consume one pending trigger. Returns true if a trigger was consumed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Re-enable after stop() and reset pending trigger count.
stop() → void
Stop all future auto-repeat cycles and drain pending triggers.
toString() String
A string representation of this object.
inherited
trigger() → void
Queue one burst. Safe to call rapidly — each call adds one burst cycle.

Operators

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