RotatingPlanetsCounter constructor
RotatingPlanetsCounter({})
Implementation
RotatingPlanetsCounter(
{required List<Color> initialColors,
required int initialCounter,
BlendMode blend = BlendMode.hardLight}) {
_counter = initialCounter;
_colors = initialColors;
_blend = blend;
for (int i = 0; i < _counter!; i++) {
_radii.add(_random.nextInt(20) + 10.0);
}
}