AdDrawFeedWidget constructor
const
AdDrawFeedWidget({
- Key? key,
- required String posId,
- required int adId,
- double width = 375,
- double height = 300,
- bool isVisible = true,
- VoidCallback? onAdLoaded,
- dynamic onAdError(
- String error
- VoidCallback? onAdClicked,
- VoidCallback? onAdClosed,
- VoidCallback? onAdRenderSuccess,
- dynamic onAdRenderFail(
- String error
- VoidCallback? onVideoPlay,
- VoidCallback? onVideoPause,
- 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,
});