CustomOfflineNativeAdWidget constructor
const
CustomOfflineNativeAdWidget({
- Key? key,
- TemplateType templateType = TemplateType.medium,
- CustomAdModel? customAd,
- String headline = 'Upgrade to Offline Pro',
- String body = 'Enjoy uninterrupted features, offline caching, premium analytics, and extra benefits.',
- String callToAction = 'Install Now',
- String advertiser = 'Sponsored Partner',
- double cornerRadius = 12.0,
- 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,
});