AdropInterstitialAd class

AdropInterstitialAd class responsible for requesting interstitial ads and displaying them to the user.

unitId required Ad unit ID listener optional invoked when a response from load, show method called back.

Constructors

AdropInterstitialAd.new({required String unitId, AdropInterstitialListener? listener})

Properties

browserTarget BrowserTarget?
Returns an Adrop ad's browser target.
no setterinherited
campaignId String
Returns an Adrop ad's campaign id.
no setterinherited
creativeId String
Returns an Adrop ad's creativeId.
no setterinherited
destinationURL String
Returns an Adrop ad's destination url.
no setterinherited
extraLoadArgs Map<String, dynamic>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
Returns true if an Adrop ad is loaded.
no setterinherited
listener → AdropAdListener?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
txId String
Returns an Adrop ad's transaction id.
no setterinherited
unitId String
Returns an Adrop ad's unitId.
no setterinherited

Methods

close() Future<void>
Closes the interstitial ad. (Android only)
closeAd() Future<void>
Requests to close a popup ad.
inherited
customize([dynamic data]) Future<void>
Requests to customize a popup ad.
inherited
dispose() Future<void>
Dispose the Adrop ad to free resources.
inherited
load() Future<void>
Requests an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() Future<void>
Requests to show an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
toString() String
A string representation of this object.
inherited

Operators

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