SmartBannerAdView constructor

const SmartBannerAdView({
  1. Key? key,
  2. String? adUnitId,
  3. AdSize adSize = AdSize.banner,
  4. AdRequest? adRequest,
  5. CustomAdModel? customAd,
  6. bool showOfflineFallback = true,
  7. VoidCallback? onAdLoaded,
  8. dynamic onAdFailedToLoad(
    1. LoadAdError error
    )?,
  9. VoidCallback? onAdClicked,
  10. OnPaidEventCallback? onPaidEvent,
  11. Widget? placeholder,
  12. Widget? customOfflineWidget,
  13. NetworkInfo? networkInfo,
})

Implementation

const SmartBannerAdView({
  super.key,
  this.adUnitId,
  this.adSize = AdSize.banner,
  this.adRequest,
  this.customAd,
  this.showOfflineFallback = true,
  this.onAdLoaded,
  this.onAdFailedToLoad,
  this.onAdClicked,
  this.onPaidEvent,
  this.placeholder,
  this.customOfflineWidget,
  this.networkInfo,
});