AdDrawFeedWidget constructor

const AdDrawFeedWidget({
  1. Key? key,
  2. required String posId,
  3. required int adId,
  4. double width = 375,
  5. double height = 300,
  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
    )?,
  13. VoidCallback? onVideoPlay,
  14. VoidCallback? onVideoPause,
  15. VoidCallback? onVideoComplete,
})

Implementation

const AdDrawFeedWidget({
  super.key,
  required this.posId,
  required this.adId,
  this.width = 375,
  this.height = 300,
  this.isVisible = true,
  this.onAdLoaded,
  this.onAdError,
  this.onAdClicked,
  this.onAdClosed,
  this.onAdRenderSuccess,
  this.onAdRenderFail,
  this.onVideoPlay,
  this.onVideoPause,
  this.onVideoComplete,
});