EasyBannerAd constructor

const EasyBannerAd({
  1. Key? key,
  2. String? adUnitId,
  3. EasyBannerType type = EasyBannerType.anchoredAdaptive,
  4. AdSize? fixedSize,
  5. EasyBannerCollapse collapse = EasyBannerCollapse.none,
  6. double? inlineMaxHeight,
  7. Widget? placeholder,
  8. void onLoaded(
    1. AdSize size
    )?,
})

Creates a banner.

Implementation

const EasyBannerAd({
  super.key,
  this.adUnitId,
  this.type = EasyBannerType.anchoredAdaptive,
  this.fixedSize,
  this.collapse = EasyBannerCollapse.none,
  this.inlineMaxHeight,
  this.placeholder,
  this.onLoaded,
});