animatedBuilder method
Listens to a Listenable, often an animation, and rebuilds the widget. Identical to listenableBuilder.
Implementation
Widget animatedBuilder({
required Listenable listenable,
Key? key,
Widget? child,
}) {
return AnimatedBuilder(
key: key,
animation: listenable,
builder: (_, __) => this,
);
}