AdmobUtils class

Constructors

AdmobUtils()

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

Operators

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

Static Properties

adsNativeController ↔ ValueNotifier<Pair>
getter/setter pair
isLoad ↔ bool
getter/setter pair
nativeAd ↔ NativeAd
getter/setter pair

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

Constants

method_medium → const String
method_small → const String
methodChannel → const MethodChannel