FullScreenAd class
Constructors
- FullScreenAd({required AdMobListener listener})
-
factory
Properties
- ad → Ad?
-
Provide the Ad object
no setterinherited
- clickedListener ← VoidCallback
-
no getter
- closedListener ← VoidCallback
-
no getter
- contentUrl → String?
-
no setterinherited
- errorListener ← AdErrorListener?
-
Set an Error Event Listener.
no getterinherited
-
eventListeners
→ Set<
MobileAdListener> -
no setter
- failedListener ← VoidLoadErrorCallback
-
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- impressionListener ← VoidCallback
-
no getter
- inError → bool
-
Indicate there was an error.
no setterinherited
-
keywords
→ List<
String> ? -
no setterinherited
- leftAppListener ← VoidCallback
-
no getter
- listener → AdMobListener?
-
finalinherited
- loaded ↔ bool
-
getter/setter pairinherited
- loadedListener ← VoidCallback
-
no getter
- message → String
-
Displays an error message if any.
no setterinherited
- nonPersonalizedAds → bool?
-
no setterinherited
- openedListener ← VoidCallback
-
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetingInfo → dynamic
-
no setter
-
testDevices
→ List<
String> ? -
no setterinherited
Methods
-
adWidget(
{Key? key}) → Widget -
Display as a widget
inherited
-
clearAll(
) → void -
clearErrorListeners(
) → void -
Empty any error handlers from memory.
inherited
-
dispose(
) → Future< void> -
Clear the MobileAd reference.
inherited
-
getError(
) → Exception? -
Return any exception
inherited
-
isLoaded(
) → Future< bool> -
Determine if the Ad is loaded.
inherited
-
load(
) → Future< bool> -
Explicitly load the Ad
inherited
-
loadAd(
{required bool show, String? adUnitId, AdRequest? targetInfo, List< String> ? keywords, String? contentUrl, bool? childDirected, List<String> ? testDevices, bool? nonPersonalizedAds, bool? testing, double? anchorOffset, double? horizontalCenterOffset}) → Future<bool> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeClicked(
VoidCallback listener) → bool -
removeClosed(
VoidCallback listener) → bool -
removeError(
AdErrorListener listener) → bool -
Remove a specific Error Listener.
inherited
-
removeFailed(
VoidLoadErrorCallback listener) → bool -
removeImpression(
VoidCallback listener) → bool -
removeLeftApp(
VoidCallback listener) → bool -
removeLoaded(
VoidCallback listener) → bool -
removeOpened(
VoidCallback listener) → bool -
set(
{String? adUnitId, AdRequest? targetInfo, List< String> ? keywords, String? contentUrl, bool? childDirected, List<String> ? testDevices, bool? nonPersonalizedAds, bool? testing, double? anchorOffset, double? horizontalCenterOffset, AdErrorListener? errorListener}) → Future<bool> -
Set options for the Interstitial Ad
override
-
show(
) → bool -
Display the Ad
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited