Closed gpbonillas closed 3 years ago
Hey @ gpbonillas, thanks for sending a pull request. I updated the codelab content to mention the correct filename (home_route.dart
) instead of home_page.dart
. (See https://codelabs.developers.google.com/codelabs/admob-ads-in-flutter#5)
As it does not require to update the sample code, please allow me to close this pull request :)
In the codelab the instruction:
"_Before loading ads, you need to initialize the Google Mobile Ads SDK. Open the lib/home_page.dart file, and modify..."_
has an error. The file home_page.dart doesn't exist.
Solution:
1) Rename the file
home_route.dart
tohome_page.dart
2) Change the import on main.dart to reference the new file name, fromhome_route.dart
tohome_page.dart