build method
Implementation
Widget build(BuildContext context) {
return Stack(
children: [
for (int i = 0; i < _radii.length; i++)
Positioned.fill(
child: TweenAnimationBuilder(
tween: Tween<double>(begin: 0, end: _radii[i]),
duration: const Duration(milliseconds: 500),
curve: Curves.easeIn,
builder: (_, double radius, __) {
return _RotatingBubble1(
random: _random,
radius: radius,
color: _colors[i % _colors.length],
blend: _blend,
);
},
),
),
],
);
}