CircleMirror class

Mirrors a given particle around a circle.

When using the default constructor you specify one Particle, this particle is going to be used on its own, this implies that all mirrored particles are identical (expect for the rotation around the circle)

Inheritance

Constructors

CircleMirror({Particle child, double initialRotation, int numberOfParticles})
CircleMirror.builder({ParticleBuilder particleBuilder, double initialRotation, int numberOfParticles})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
initialRotation double
final
numberOfParticles int
final
particleBuilder ParticleBuilder
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(Canvas canvas, Size size, double progress, int seed) → void
override
toString() String
A string representation of this object. [...]
inherited

Operators

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