fat_ads 0.1.0 copy "fat_ads: ^0.1.0" to clipboard
fat_ads: ^0.1.0 copied to clipboard

A simple and easy-to-use Flutter package to integrate Ads into your app.

example/lib/main.dart

import 'package:fat_ads/fat_ads.dart';
import 'package:flutter/material.dart';

// Note: app will crash if you forgot to add AdMob App ID to AndroidManifest.xml | Info.plist

void main() async {
  appOpenAds(
    // androidUnitId: "ca-app-pub-3940256099942544/3419835294",
    loadingTimeout: const Duration(seconds: 5),
  );

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Fat Ads'),
        ),
        body: const FatDebug(
          child: Center(child: Text('Did you see the App Open Ad popup?')),
        ),
      ),
    );
  }
}
1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

A simple and easy-to-use Flutter package to integrate Ads into your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_native_splash, google_mobile_ads, json5, provider, xml

More

Packages that depend on fat_ads