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