Particle class

Represents a single particle in the effect

Constructors

Particle({required double x, required double y, required double size, required double speed, required double direction, required double opacity})

Properties

direction → double
final
hashCode → int
The hash code for this object.
no setterinherited
opacity → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double
final
speed → double
final
x ↔ double
getter/setter pair
y ↔ double
getter/setter pair

Methods

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

Operators

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