Particle class

Constructors

Particle.new({required Offset position, required Offset velocity, required Color color, required double size, bool isVisible = true})

Properties

color Color
getter/setter pair
defaultVelocity Offset
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
getter/setter pair
position Offset
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
getter/setter pair
velocity Offset
getter/setter pair
wasAccelerated bool
getter/setter pair

Methods

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

Operators

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