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](https://user-images.githubusercontent.com/10207753/212542820-7552188e-e6f3-4e4d-a99c-2d0f5121d9b4.png)
Example 2
FlutterAdManagerWeb(
adUnitCode: adUnitCode,
debug: true,
),
![Screenshot 2023-01-15 at 6 15 17 PM](https://user-images.githubusercontent.com/10207753/212542818-560db105-d12a-4a23-a862-50583af90f01.png)
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