build method
Override this method to build widgets that depend on the state of the listenable (e.g., the current value of the animation).
Implementation
@override
Widget build(BuildContext context) {
return AnimatedBuilder(
animation: animation,
builder: (context, child) {
return _BouncingCircleBgRenderObjectWidget(
circles
.map((e) => e.copyWith(
width: ((e.max - e.min) * animation.value) + e.min))
.toList(),
child: child,
);
},
child: child,
);
}