BannerView constructor

const BannerView({
  1. Key? key,
  2. required String adSlotId,
  3. BannerAdSize size = BannerAdSize.s320x50,
  4. Color? backgroundColor,
  5. bool loadOnStart = true,
  6. Duration? refreshDuration,
  7. BannerViewController? controller,
  8. AdParam? adParam,
})

Implementation

const BannerView({
  Key? key,
  required this.adSlotId,
  this.size = BannerAdSize.s320x50,
  this.backgroundColor,
  this.loadOnStart = true,
  this.refreshDuration,
  this.controller,
  this.adParam,
}) : super(key: key);