MoPubBannerAd constructor

const MoPubBannerAd({
  1. Key? key,
  2. String? adUnitId,
  3. BannerSize bannerSize = BannerSize.STANDARD,
  4. void listener(
    1. BannerAdResult,
    2. dynamic
    )?,
  5. bool keepAlive = false,
})

Implementation

const MoPubBannerAd({
  Key? key,
  this.adUnitId,
  this.bannerSize = BannerSize.STANDARD,
  this.listener,
  this.keepAlive = false,
}) : super(key: key);