AdmobEasy class
AdmobEasy class combines functionality from InitAd, AppRewardedAd, and OpenAppAd
- Mixed-in types
Properties
- appOpenAdID → String
-
no setterinherited
-
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
-
disposeNative(
) → void -
Dispose the preloaded 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}) → Future<void> -
inherited
-
loadAppOpenAd(
{int maxLoadAttempts = 5, int attemptDelayFactorMs = 500, String? adId}) → void -
<------------------------ Load AppOpenAd with Exponential Backoff ------------------------>
inherited
-
loadNativeAd(
{required TemplateType templateType, required double minWidth, required double minHeight, required double maxWidth, required double maxHeight, String? adID, void onAdClicked(Ad)?, void onAdImpression(Ad)?, void onAdClosed(Ad)?, void onAdOpened(Ad)?, void onAdWillDismissScreen(Ad)?, void onPaidEvent(Ad, double, PrecisionType, String)?}) → void -
Preload the ad once
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
-
showNativeAd(
{required double minWidth, required double minHeight, required double maxWidth, required double maxHeight}) → Widget -
Show the preloaded 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