AdropBannerView

Banner view class responsible for requesting banner ads and displaying them to the user.


Constructors

AdropBannerView

AdropBannerView({
  key? key,
  required String unitId,
  AdropBannerListener? listener,
})

Requires Ad unit ID


Properties

unitId -> String

Get Ad unit ID of the AdropBannerView.

A listener called when there is a change in the AdropBannerView.


Methods

load() -> Future<void>

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

dispose() -> Future<void>

Dispose the ad to free resources.

Last updated