AdmobEasy class

AdmobEasy class combines functionality from InitAd, AppRewardedAd, and OpenAppAd

Mixed-in types

Properties

appOpenAdID String
no setterinherited
bannerAdID String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
initAdID String
no setterinherited
interstitialAd InterstitialAd?
getter/setter pairinherited
isConnected ValueNotifier<bool>
Notifier for tracking connectivity status
getter/setter pairinherited
nativeAdID String
no setterinherited
rewardedAd RewardedAd?
getter/setter pairinherited
rewardedAdID String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createInterstitialAd(BuildContext context, {bool load = true, int maxLoadAttempts = 5, int attemptDelayFactorMs = 500, String? adId}) Future<void>
<------------------------ Load Interstitial Ad with Exponential Backoff ------------------------>
inherited
createRewardedAd(BuildContext context, {int maxFailedLoadAttempts = 5, int attemptDelayFactorMs = 500, String? adId}) Future<void>
<------------------------ Load Rewarded Ad with Exponential Backoff ------------------------>
inherited
initConnectivity({VoidCallback? onOnline, VoidCallback? onOffline}) Future<void>
Initializes connectivity and sets up listeners for changes
inherited
initialize({String? androidRewardedAdID, String? androidInitAdID, String? androidBannerAdID, String? androidNativeAdID, String? androidAppOpenAdID, String? iosRewardedAdID, String? iosInitAdID, String? iosBannerAdID, String? iosNativeAdID, String? iosAppOpenAdID, List<String>? testDevices}) → void
inherited
loadAppOpenAd({int maxLoadAttempts = 5, int attemptDelayFactorMs = 500, String? adId}) → void
<------------------------ Load AppOpenAd with Exponential Backoff ------------------------>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showInterstitialAd(BuildContext context, {void onAdShowedFullScreenContent(InterstitialAd)?, void onAdDismissedFullScreenContent(InterstitialAd)?, void onAdFailedToShowFullScreenContent(InterstitialAd, AdError)?}) → void
<------------------------ Show Interstitial Ad ------------------------>
inherited
showOpenAppAd() → void
<------------------------ Show AppOpenAd ------------------------>
inherited
showRewardedAd(BuildContext context, {void onAdShowedFullScreenContent(RewardedAd)?, void onAdDismissedFullScreenContent(RewardedAd)?, void onAdFailedToShowFullScreenContent(RewardedAd, AdError)?, void onUserEarnedReward(AdWithoutView, RewardItem)?}) Future<void>
<------------------------ Show Rewarded Ad with User Engagement Tracking ------------------------>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance AdmobEasy
no setter