Created
January 27, 2022 17:25
-
-
Save chaudharydeepanshu/de1e6f76530bb28c07e8fac77c8c0884 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
final initFuture = MobileAds.instance.initialize(); | |
final adState = AdState(initFuture); | |
runApp(Provider.value( | |
value: adState, | |
builder: (context, child) => const MyApp(), | |
)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment