AdFeedWidget constructor

const AdFeedWidget({
  1. Key? key,
  2. required String posId,
  3. required int adId,
  4. double width = 375,
  5. double height = 125,
  6. bool isVisible = true,
  7. VoidCallback? onAdLoaded,
  8. dynamic onAdError(
    1. String error
    )?,
  9. VoidCallback? onAdClicked,
  10. VoidCallback? onAdClosed,
  11. VoidCallback? onAdRenderSuccess,
  12. dynamic onAdRenderFail(
    1. String error
    )?,
})

Implementation

const AdFeedWidget({
  super.key,
  required this.posId,
  required this.adId,
  this.width = 375,
  this.height = 125,
  this.isVisible = true,
  this.onAdLoaded,
  this.onAdError,
  this.onAdClicked,
  this.onAdClosed,
  this.onAdRenderSuccess,
  this.onAdRenderFail,
});