flutter-ads
Installation
SKILL.md
AdmobKit integration
Import package:admob_kit_flutter/admob_kit_flutter.dart. Use only the public API; never import src/ files.
This skill is for app integration. Change package internals only when maintaining the package itself.
How to work
- Identify the app flow that needs an ad.
- Pick the recipe in Recipes.
- Apply the rules in Best practices.
- When a behavior seems surprising, or you want to change it, read Design decisions first. Every public API exists for a specific use case; do not work around one.
- Check exact signatures in the API reference.
- Upgrading an app from 0.0.2: follow Migrating from 0.0.2.
The model
- The app owns: which screens get ads, when transitions show one, frequency, rewards, purchase state, and which placements are reachable.
- The package owns: consent, loading, queueing, retries, caching, freshness, offline handling, and which widget gets which ad.
- The package makes product decisions only when correctness or AdMob policy requires it.