transformStars method
Transforms the Star objects by expanding and translating the Star.
The transform will create an animation.
Implementation
void transformStars(Size size) {
if (animated) {
setMovedCallback(true);
for (Star star in controller.stars) {
controller.transformStar(star);
}
}
}