0

Like we have sprite to add/render images in flutter flame. Is their any widget or any way to show ads(admob) in flutter flame project.

lonewolf
  • 61
  • 6

1 Answers1

2

Since Flame is just another Flutter widget you can use the firebase_admob just like it would have been used in any other Flutter app. There is good documentation of how to use the admob flutter widgets in their readme.

If you want to display an ad on top of the game I suggest that you either use a Stack widget or use the overlays system in Flame.

spydon
  • 9,372
  • 6
  • 33
  • 63