AdmobEasyNative.mediumTemplate constructor
const
AdmobEasyNative.mediumTemplate({
- double minWidth = 320,
- double minHeight = 320,
- double maxWidth = 400,
- double maxHeight = 400,
- TemplateType templateType = TemplateType.medium,
- Key? key,
- void onAdClicked()?,
- void onAdClosed()?,
- void onAdImpression()?,
- void onAdOpened()?,
- void onAdWillDismissScreen()?,
- void onPaidEvent(
- Ad,
- double,
- PrecisionType,
- String,
A medium template for the native ad.
Implementation
const AdmobEasyNative.mediumTemplate({
this.minWidth = 320,
this.minHeight = 320,
this.maxWidth = 400,
this.maxHeight = 400,
this.templateType = TemplateType.medium,
super.key,
this.onAdClicked,
this.onAdClosed,
this.onAdImpression,
this.onAdOpened,
this.onAdWillDismissScreen,
this.onPaidEvent,
});