AppOpenAdManager class

Utility class that manages loading and showing app open ads.

Constructors

AppOpenAdManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
isAdAvailable bool
Whether an ad is available to be shown.
no setter
maxCacheDuration Duration
Maximum duration allowed between loading and showing the ad.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadAd({int pos = 0, Function? callback, Function? onFailedCallback}) → void
Load an AppOpenAd.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showAdIfAvailable(BuildContext context) → void
Shows the ad, if one exists and is not already being shown.
toString() String
A string representation of this object.
inherited

Operators

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