OrbStateSpec class

What one MorphOrbState renders: a geometry, the per-state tweaks on its resolved profile, and how it is framed.

Annotations

Constructors

OrbStateSpec({required OrbGeometryKind kind, double speedMul = 1, double wobMul = 1, double scale = 1, double opacity = 1, bool frozen = false})
const

Properties

frozen → bool
The clock does not advance for this state.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → OrbGeometryKind
final
opacity → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → double
final
speedMul → double
final
wobMul → double
final

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

defaultVariant(MorphOrbState state) → MorphOrbVariant?
The default geometry of a continuous state; null for terminal states, which always draw their own glyph.
of(MorphOrbState state, MorphOrbVariant? variant) → OrbStateSpec