UnityBannerAd constructor
const
UnityBannerAd({
- Key? key,
- required String placementId,
- BannerSize size = BannerSize.standard,
- void onLoad(
- String placementId
- void onClick(
- String placementId
- void onShown(
- String placementId
- void onFailed(
- String placementId,
- UnityAdsBannerError error,
- String errorMessage
This widget is used to contain Banner Ads.
Implementation
const UnityBannerAd({
Key? key,
required this.placementId,
this.size = BannerSize.standard,
this.onLoad,
this.onClick,
this.onShown,
this.onFailed,
}) : super(key: key);