const AnimatedLogo({super.key, required Animation<double> animation})

: super(listenable: animation);

+
            class LogoWidget extends StatelessWidget {

+
              const LogoWidget({super.key});

+
              // Leave out the height and width so it fills the animating parent

+
              @override

+
              Widget build(BuildContext context) {

+
                return Container(

10

+
                  margin: const EdgeInsets.symmetric(vertical: 10),

11

+
                  child: const FlutterLogo(),

12

+
                );

13

+
              }

14

+
            }

15