PlaywireBannerView constructor
const
PlaywireBannerView({
- Key? key,
- required String adUnitId,
- bool autoload = true,
- Map<
String, String> ? targeting, - VoidCallback? onAdLoaded,
- void onAdFailedToLoad({})?,
- VoidCallback? onAdOpened,
- VoidCallback? onAdClosed,
- VoidCallback? onAdImpression,
- VoidCallback? onAdClicked,
- PlaywireBannerController? controller,
- int? width,
- int? height,
Implementation
const PlaywireBannerView({
super.key,
required this.adUnitId,
this.autoload = true,
this.targeting,
this.onAdLoaded,
this.onAdFailedToLoad,
this.onAdOpened,
this.onAdClosed,
this.onAdImpression,
this.onAdClicked,
this.controller,
this.width,
this.height,
});