44
52

return Scaffold(

3. Set up a trigger for the animation

To set the animation to trigger whenever the user presses the Change button,
invoke the change() method in the onPressed() handler:

{container3 → container4}/lib/main.dart

@@ -67,7 +67,7 @@

67
67

),

68
68

ElevatedButton(

69
69

child: const Text('change'),

70

onPressed: () => {},

70

+
                          onPressed: () => change(),

71
71

),

72
72

],