17
22

@override

@@ -30,6 +35,12 @@

30
35

),

31
36

);

32
37

38

39

+
              @override

40

+
              void dispose() {

41

+
                controller.dispose();

42

+
                super.dispose();

43

+
              }

33
44

34
45

class MyApp extends StatelessWidget {

This code is not yet valid because it passes no arguments
to AnimationController’s constructor.