I'm following this official Flutter tutorial
I wrote the same code as in the video tutorial, but when I added the
AdState class, the
Android Studio gave me an error:
the AdListener isn't a type.
Solution 1: Legend5366
I followed your guide, indeed, there is no AdListener type, but I was able to solve this problem, change the version of the google_mobile_ads package to the following and it will help: