preload_google_ads 0.0.1
preload_google_ads: ^0.0.1 copied to clipboard
Preload Google Ads in your Flutter app to speed up ad loading and improve user experience. Initialize the Google Mobile Ads SDK early to optimize ad performance right from the start.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add preload_google_adsWith Flutter:
$ flutter pub add preload_google_adsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
preload_google_ads: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:preload_google_ads/preload_google_ads.dart';