AdropInterstitialAd

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


Constructors

AdropInterstitialAd

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

requires Ad unit ID


Properties

isLoaded -> bool

Determine if ad is fully loaded.

unitId -> String

Get Ad unit ID of the AdropInterstitialAd.

listener -> AdropAdListener?

A listener called when load or show is called in the AdropInterstitialAd.


Methods

load() -> Future<void>

Requests an ad from Adrop using the ad unit ID of the AdropInterstitialAd.

show() -> Future<void>

Shows an ad from Adrop using the ad unit ID of the AdropInterstitialAd. Must be fully loaded before show is called.

dispose() -> Future<void>

Dispose the ad to free resources.

Last updated