Methods
-
adWidget({Key? key})
→ Widget
-
Display as a widget
-
clearErrorListeners()
→ void
-
Empty any error handlers from memory.
inherited
-
dispose()
→ Future<void>
-
Clear the MobileAd reference.
override
-
getError()
→ Exception?
-
Return any exception
inherited
-
isLoaded()
→ Future<bool>
-
Determine if the Ad is loaded.
-
load()
→ Future<bool>
-
Explicitly load the Ad
-
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>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeError(AdErrorListener listener)
→ bool
-
Remove a specific Error Listener.
inherited
-
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})
→ void
-
Set the MobileAd's options.
override
-
show()
→ bool
-
Display the Ad
override
-
toString()
→ String
-
A string representation of this object.
inherited