scaling method

ScalingParticle scaling({
  1. double to = 0,
})
inherited

Wraps this particle with a ScalingParticle.

Allows for changing the size of this particle and/or its children.

Implementation

ScalingParticle scaling({double to = 0}) {
  return ScalingParticle(to: to, child: this, lifespan: _lifespan);
}