xxxxxxxxxx
@override
Widget build(BuildContext context) {
// this *is* a side effect
animationController.forward();
// ScaleTransition rebuilds the child
// whenever the animation value changes
return ScaleTransition(
scale: animationController,
child: Container(width: 180, height: 180, color: Colors.red),
);
}