const Text('41'),

38

+
                      const FavoriteWidget(),

48
39

],

49
40

),

50
41

);

That’s it! When you hot reload the app,
the star icon should now respond to taps.

Problems?

If you can’t get your code to run, look in your
IDE for possible errors.  Debugging Flutter apps might help.
If you still can’t find the problem,
check your code against the interactive lakes example on GitHub.

lib/main.dart

pubspec.yaml

lakes.jpg

If you still have questions, refer to any one of the developer
community channels.