YandexAdsAppOpenComponent constructor
YandexAdsAppOpenComponent({})
Implementation
YandexAdsAppOpenComponent({
Function? onAdLoaded,
Function? onAdFailedToLoad,
Function? onAdFailedToShow,
Function? onImpression,
Function? onAdClicked,
Function? onAdShown,
Function? onAdDismissed,
required this.id,
}) {
appopen = YandexAdsAppOpen();
FlutterYandexAds.addAppOpen(
id,
YandexAdsAppOpenCallbacks(
onAdLoaded: onAdLoaded,
onAdFailedToLoad: onAdFailedToLoad,
onAdFailedToShow: onAdFailedToShow,
onImpression: onImpression,
onAdClicked: onAdClicked,
onAdShown: onAdShown,
onAdDismissed: onAdDismissed,
));
appopen.make(id);
}