/flutter_ad_manager_web

primarily created to display Adsense ads on Flutter Web.

Primary LanguageDartMIT LicenseMIT

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