CustomOfflineNativeAdWidget constructor

const CustomOfflineNativeAdWidget({
  1. Key? key,
  2. TemplateType templateType = TemplateType.medium,
  3. CustomAdModel? customAd,
  4. String headline = 'Upgrade to Offline Pro',
  5. String body = 'Enjoy uninterrupted features, offline caching, premium analytics, and extra benefits.',
  6. String callToAction = 'Install Now',
  7. String advertiser = 'Sponsored Partner',
  8. double cornerRadius = 12.0,
  9. VoidCallback? onTap,
})

Implementation

const CustomOfflineNativeAdWidget({
  super.key,
  this.templateType = TemplateType.medium,
  this.customAd,
  this.headline = 'Upgrade to Offline Pro',
  this.body =
      'Enjoy uninterrupted features, offline caching, premium analytics, and extra benefits.',
  this.callToAction = 'Install Now',
  this.advertiser = 'Sponsored Partner',
  this.cornerRadius = 12.0,
  this.onTap,
});