Particle class

Constructors

Particle({required List<Color> colors, int heightFactor = 4, double velocityFactor = 1.5, double maxWidth = 800, double maxHeight = 800, double velocityYDirection = 1, double velocityXDirection = 1})

Properties

color Color
getter/setter pair
colors List<Color>
final
hashCode int
The hash code for this object.
no setterinherited
heightFactor int
final
maxHeight double
final
maxWidth double
final
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
velocityFactor double
final
velocityXDirection double
final
velocityYDirection double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → dynamic
toString() String
A string representation of this object.
inherited
update({bool? y, bool? x}) → dynamic

Operators

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