gdpr_ads 1.1.0+2 gdpr_ads: ^1.1.0+2 copied to clipboard
GDPR service, GDPR intermediate screen, Admob manager for loading and displaying
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gdpr_ads
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gdpr_ads: ^1.1.0+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gdpr_ads/ads/adbanner.dart';
import 'package:gdpr_ads/ads/adservice.dart';
import 'package:gdpr_ads/ads/responsebanner.dart';
import 'package:gdpr_ads/ads/responseinterstitial.dart';
import 'package:gdpr_ads/ads/responseinterstitialrewarded.dart';
import 'package:gdpr_ads/ads/src/bannerservice.dart';
import 'package:gdpr_ads/ads/src/countdowntimer.dart';
import 'package:gdpr_ads/ads/src/dialogconfirmad.dart';
import 'package:gdpr_ads/ads/src/interstitialservice.dart';
import 'package:gdpr_ads/ads/src/rewardedinterstitialservice.dart';
import 'package:gdpr_ads/gdpr/gdprinitialscreen.dart';
import 'package:gdpr_ads/gdpr/gdprscreenmanager.dart';
import 'package:gdpr_ads/gdpr/gdprservice.dart';
import 'package:gdpr_ads/gdpr/gdprupdatescreen.dart';