ChobiAdMobBannerAd constructor

const ChobiAdMobBannerAd({
  1. Key? key,
  2. String? androidBannerId,
  3. String? iosBannerId,
  4. required String lastClickedPrefsKey,
  5. List<String>? testDeviceIds,
  6. bool isDebug = true,
  7. int adIntervalTimeMs = 5 * 60 * 1000,
  8. dynamic additionalConsentCheckFinished(
    1. ConsentStatus status
    )?,
  9. dynamic additionalConsentError(
    1. FormError error
    )?,
  10. BannerAdListener? bannerAdListener,
  11. StateProvider<BannerState>? bannerStateProvider,
  12. bool needToConfirmIosAppTracking = true,
  13. required Widget builder(
    1. BuildContext context,
    2. BannerAd? ad
    ),
})

Implementation

const ChobiAdMobBannerAd({
  super.key,
  this.androidBannerId,
  this.iosBannerId,
  required this.lastClickedPrefsKey,
  this.testDeviceIds,
  this.isDebug = true,
  this.adIntervalTimeMs = 5 * 60 * 1000,
  this.additionalConsentCheckFinished,
  this.additionalConsentError,
  this.bannerAdListener,
  this.bannerStateProvider,
  this.needToConfirmIosAppTracking = true,
  required this.builder,
});