gdpr_ads 1.1.0+2 copy "gdpr_ads: ^1.1.0+2" to clipboard
gdpr_ads: ^1.1.0+2 copied to clipboard

GDPR service, GDPR intermediate screen, Admob manager for loading and displaying

example/example.md

Example #

There are two methods of using this package. Both aim at having the GDPR and Ads configuration in one place. Loading and showing Ads works the same for the two methods.

The first one is using the [GdprScreenManager] and is recommended.

The other is to create a [GdprScreenWrapper] yourself.

GDPR Screen Manager #

How to show an GdprScreen:

Scaffold(body:
  GdprScreenManager.getInitialGdprScreen());

Scaffold(body:
  GdprScreenManager.getInitialResetGdprScreen());

Scaffold(body:
  GdprScreenManager.getUpdateGdprScreen());

GDPR Screen Wrapper #

The widget below is a simple wrapper to make [GdprInitialScreen] and [GdprUpdateScreen] reusable with the same configuration.

6
likes
150
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

GDPR service, GDPR intermediate screen, Admob manager for loading and displaying

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async_preferences, flutter, google_mobile_ads

More

Packages that depend on gdpr_ads