GlobeParticleLayer class

Renders deterministic procedural particles orbiting the globe.

Inheritance

Constructors

GlobeParticleLayer({bool enabled = true, int zIndex = 30, int particleCount = 45, int seed = 42, Color color = const Color(0xFF38BDF8), double speed = 1.0})
Creates deterministic particles using a fixed seed. Reuse this instance.

Properties

color Color
Primary color for this visual component.
final
enabled bool
Whether this layer is rendered.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
particleCount int
Number of seeded particles; keep small on constrained devices.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int
Seed used to reproduce the same particle field.
final
speed double
Multiplier applied to the particle scene clock.
final
zIndex int
Rendering order priority (lower zIndex paints first).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(GlobeRenderContext context) → void
Paints the layer contents onto the canvas.
override
toString() String
A string representation of this object.
inherited

Operators

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