ChobiAdMobBannerAd constructor
const
ChobiAdMobBannerAd({
- Key? key,
- String? androidBannerId,
- String? iosBannerId,
- required String lastClickedPrefsKey,
- List<
String> ? testDeviceIds, - bool isDebug = true,
- int adIntervalTimeMs = 5 * 60 * 1000,
- dynamic additionalConsentCheckFinished(
- ConsentStatus status
- dynamic additionalConsentError(
- FormError error
- BannerAdListener? bannerAdListener,
- StateProvider<
BannerState> ? bannerStateProvider, - bool needToConfirmIosAppTracking = true,
- required Widget builder(
- BuildContext context,
- 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,
});