flutter_ad_manager_web 0.0.1 copy "flutter_ad_manager_web: ^0.0.1" to clipboard
flutter_ad_manager_web: ^0.0.1 copied to clipboard

Simple package that allow you to display ads primarily created to display Adsense ads on Flutter Web.

AdManager Web Flutter #

Simple package that allow you to display ads primarily created to display Adsense ads on Flutter Web.

Usage #

In your pubspec.yaml

dependencies:
  flutter_ad_manager_web: # latest version

Import it

import 'package:flutter_ad_manager_web/flutter_ad_manager_web.dart';

Implement it

you can get this code snippet from Adsense

String adUnitCode = """  
<script async src="url"  
 crossorigin="anonymous"></script>  
<!-- horizontal ad unit -->  
<ins class="adsbygoogle"  
 style="display:block" data-ad-client="ca-pub-client" data-ad-slot="ad-slot=data" data-ad-format="auto" data-full-width-responsive="true"></ins>  
<script>  
 (adsbygoogle = window.adsbygoogle || []).push({});</script>  
""";

Example 1 Customize FlutterAdManagerWeb

FlutterAdManagerWeb(  
  adUnitCode: adUnitCode,  
  debug: true,  
  width: 1100,  
  height: 100,  
),
Screenshot 2023-01-15 at 6 15 02 PM

Example 2

FlutterAdManagerWeb(  
  adUnitCode: adUnitCode,  
  debug: true,  
),
Screenshot 2023-01-15 at 6 15 17 PM

Preview debugging Mode #


Preview Real World #


Inkblot Art app developed In Flutter Available for Android, IOS & Web

Created & Maintained By #

@M.A , Youtube : @eTechViral , Twitter : @M.A , Instagram : @etechviral, LinkedIn : @M.A

9
likes
70
pub points
66%
popularity

Publisher

unverified uploader

Simple package that allow you to display ads primarily created to display Adsense ads on Flutter Web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, pointer_interceptor

More

Packages that depend on flutter_ad_manager_web