rotated method
Rotates this particle to a fixed angle in radians using RotatingParticle
.
Implementation
Particle rotated(double angle) {
return RotatingParticle(
child: this,
lifespan: _lifespan,
from: angle,
to: angle,
);
}
Rotates this particle to a fixed angle in radians using RotatingParticle
.
Particle rotated(double angle) {
return RotatingParticle(
child: this,
lifespan: _lifespan,
from: angle,
to: angle,
);
}