brain_dev_google_ads
A Flutter project to manage Google Ads mobile.
Getting Started
Usage
Pour l'utiliser ajouter dans Main googleAds.initBrainDevGoogleAds();
import 'package:brain_dev_google_ads/config/dependencies_tools.dart' as googleAds;
import 'package:brain_dev_google_ads/app_open_ads.dart';
FutureOr<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
googleAds.initBrainDevGoogleAds();
runApp(const MyApp());
}
Additional information
Widget pour les banners
import 'package:brain_dev_google_ads/admob/banner_ad_widget.dart
getWidgetBanner();
BannerAdWidget(size: AdSize.banner);
getWidgetAdsMediumRectangle();
BannerAdWidget(size: AdSize.mediumRectangle);
bool isShowAds({required int index, int afterEveryItem=9, bool showAtZero=true});
Widget getWidgetBanner();
Widget getWidgetBannerFluid();
Widget getWidgetBannerLargeBanner();
Widget getWidgetBannerMediumRectangle();
Widget getWidgetAdsMediumRectangle();
Widget widgetRewardTextView();
Widget widgetRewardView({ bool isSaveAfter = false, required setActionFunction});
loadOnlyInterstitialAd();
loadAndShowInterstitialAd();
loadAndShowInterstitialAdQuickly();
showDialogRecompense();
showActionsDialogAds({required String title, bool isSaveAfter = false, Function? setActionFunction});
void setRewardAmount({required int action});
void setRewardAmountPlus({required int action, int amount = 0});
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Libraries
- admob/constant_admob
- admob/constant_admob_chant_chorale_et_groupe
- admob/constant_admob_chant_desperance
- admob/constant_admob_chant_desperance_legacy
- admob/constant_admob_chant_lyric
- admob/constant_admob_custom
- admob/constant_admob_la_bible
- admob/constant_admob_le_gout_du_chef
- admob/constant_admob_lyric_evangelique
- admob/constant_admob_planif_max
- admob/constant_admob_test
- admob/inline_adaptive_ad_widget
- admob/native_ad_widget
- admob/video_reward_dialog
- admob/widget_reward_view
- app_open_ads
- brain_dev_google_ads
- brain_dev_google_ads_method_channel
- brain_dev_google_ads_platform_interface
- config/dependencies_tools
- config/route_helper
- controllers/admob_controller
- image_resources_ads
- impl_services/sender_google_ads_service_impl
- variables_instance