YandexAdsNativeWidget constructor

YandexAdsNativeWidget({
  1. Key? key,
  2. required String id,
  3. Function? onAdLoaded,
  4. Function? onAdFailedToLoad,
  5. Function? onImpression,
  6. Function? onAdClicked,
  7. Function? onLeftApplication,
  8. Function? onReturnedToApplication,
  9. int width = 0,
  10. int height = 0,
})

Implementation

YandexAdsNativeWidget({
  Key? key,
  required this.id,
  this.onAdLoaded,
  this.onAdFailedToLoad,
  this.onImpression,
  this.onAdClicked,
  this.onLeftApplication,
  this.onReturnedToApplication,
  this.width = 0,
  this.height = 0,
}) : super(key: key);