AdmobEasyNative.mediumTemplate constructor

const AdmobEasyNative.mediumTemplate({
  1. double minWidth = 320,
  2. double minHeight = 320,
  3. double maxWidth = 400,
  4. double maxHeight = 400,
  5. TemplateType templateType = TemplateType.medium,
  6. Key? key,
  7. void onAdClicked(
    1. Ad
    )?,
  8. void onAdClosed(
    1. Ad
    )?,
  9. void onAdImpression(
    1. Ad
    )?,
  10. void onAdOpened(
    1. Ad
    )?,
  11. void onAdWillDismissScreen(
    1. Ad
    )?,
  12. void onPaidEvent(
    1. Ad,
    2. double,
    3. PrecisionType,
    4. 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,
});