BannerAd constructor

const BannerAd({
  1. Key? key,
  2. required String adUnitId,
  3. AdSize adSize = AdSize.HEIGHT_50,
  4. int autoRefreshTime = 0,
  5. void listener(
    1. BannerAdEvent,
    2. dynamic
    )?,
  6. bool keepAlive = false,
})

Implementation

const BannerAd({
  Key? key,
  required this.adUnitId,
  this.adSize = AdSize.HEIGHT_50,
  this.autoRefreshTime = 0,
  this.listener,
  this.keepAlive = false,
}) : super(key: key);