AdmobUtils class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
bannerView(BannerHolder bannerHolder)
→ Widget
-
-
configLoading()
→ void
-
-
initAdmob({required bool isDebug, required bool isShowAds})
→ dynamic
-
-
isNetworkConnected()
→ Future<bool>
-
-
loadAndShowInter(InterHolder interHolder, {required dynamic onAdClosed(), required dynamic onAdFail(), required bool enableLoadingDialog})
→ void
-
-
loadAndShowNative(BuildContext context, NativeHolder nativeHolder, NativeAdmobType nativeType)
→ void
-
-
loadAndShowNativeWithLayout(BuildContext context, NativeHolder nativeHolder, NativeAdmobType nativeType)
→ void
-
-
loadAndShowRewardedInterstitial(RewardHolder rewardHolder, {required dynamic onEarned(), required dynamic onAdClosed(), required dynamic onAdFail(), required bool enableLoadingDialog})
→ void
-
-
loadBanner(BuildContext context, BannerHolder bannerHolder)
→ void
-
-
loadBannerCollapsible(BuildContext context, BannerHolder bannerHolder, BannerCollapsibleType type)
→ void
-
-
loadNative(BuildContext context, NativeHolder nativeHolder, NativeAdmobType nativeType)
→ void
-
-
loadNativeWithLayout(BuildContext context, NativeHolder nativeHolder, NativeAdmobType nativeType, {required dynamic onAdLoaded(String)})
→ void
-
-
nativeView(NativeHolder nativeHolder, NativeAdmobType nativeType)
→ Widget
-
-
nativeViewLoadAndShow(NativeHolder nativeHolder, NativeAdmobType nativeType)
→ Widget
-