DreamNativeAd class abstract

Abstract class for Dream Monet native ads

Implemented types
Implementers

Constructors

DreamNativeAd()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unitId → String
The ad unit ID
no setterinherited

Methods

destroy() → void
Destroy the native ad and free resources
isLoading() → bool
Check if the ad is currently loading
isReady() → bool
Check if the ad is ready to be shown
inherited
load(BuildContext context) → Future<DreamAdResult>
Load the native ad
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAdView() → void
Remove the ad view from container
setAdListener(DreamNativeAdListener listener) → void
Set ad listener
show(BuildContext context, Widget container, [void removeContainerChildren()?]) → Future<DreamAdResult>
Show the native ad in the given container
toString() → String
A string representation of this object.
inherited

Operators

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