AdmobEasy class

AdmobEasy class combines functionality from InitAd, AppRewardedAd, and OpenAppAd

Mixed-in types

Constructors

AdmobEasy()
factory

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 numInterstitialLoadAttempts = 5}) Future<void>
Asynchronously creates and loads an interstitial ad.
inherited
createRewardedAd(BuildContext context, {int maxFailedLoadAttempts = 5}) Future<void>
<------------------------ Load Rewarded Ad ------------------------>
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() → void
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
Displays the loaded interstitial ad.
inherited
showOpenAppAd() → void
inherited
showRewardedAd(BuildContext context, {void onAdShowedFullScreenContent(RewardedAd)?, void onAdDismissedFullScreenContent(RewardedAd)?, void onAdFailedToShowFullScreenContent(RewardedAd, AdError)?, void onUserEarnedReward(AdWithoutView, RewardItem)?}) Future<void>
<------------------------ Show Rewarded Ad ------------------------>
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