AdmobEasyNative.smallTemplate constructor

const AdmobEasyNative.smallTemplate({
  1. double minWidth = 320,
  2. double minHeight = 90,
  3. double maxWidth = 400,
  4. double maxHeight = 200,
  5. TemplateType templateType = TemplateType.small,
  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 small template for the native ad.

Implementation

const AdmobEasyNative.smallTemplate({
  this.minWidth = 320,
  this.minHeight = 90,
  this.maxWidth = 400,
  this.maxHeight = 200,
  this.templateType = TemplateType.small,
  super.key,
  this.onAdClicked,
  this.onAdClosed,
  this.onAdImpression,
  this.onAdOpened,
  this.onAdWillDismissScreen,
  this.onPaidEvent,
});