ConfettiDensityScale class abstract final

Scales default particle counts for ConfettiDensity.

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

multiplier(ConfettiDensity density) double
Multiplier applied to each preset’s built-in default particle total before rounding.
scaledCount(int presetDefault, ConfettiDensity density) int
Clamped particle total for presetDefault and density.