Create an animation of an image that changes both opacity and size.
Details
The app should animate an image such that:
the image starts large and becomes small
the image starts completely transparent and becomes completely opaque
the image is always centerd
the animation uses a non-linear curve
the animation starts automatically when the app loads.
Use a post frame callback to begin the animation when the widget is done loading:
@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback((_) => yourStartAnimationFunction());
}