NativeAdVerticalView constructor

const NativeAdVerticalView({
  1. Key? key,
  2. required Map<String, dynamic>? ad,
  3. required NativeAdType? adType,
  4. required double width,
  5. required OsmosConfig config,
  6. double? height,
  7. String? adLabelText,
  8. Alignment? adLabelAlignment = Alignment.topLeft,
  9. Widget? customCtaView,
  10. Widget? customBadgeView,
  11. dynamic onAdClicked(
    1. Map<String, dynamic>
    )?,
  12. dynamic onAdLoaded(
    1. Map<String, dynamic>
    )?,
  13. NativeAdStyle? customStyle,
})

Implementation

const NativeAdVerticalView({
  super.key,
  required super.ad,
  required this.adType,
  required this.width,
  required this.config,
  this.height,
  this.adLabelText,
  this.adLabelAlignment = Alignment.topLeft,
  this.customCtaView,
  this.customBadgeView,
  super.onAdClicked,
  super.onAdLoaded,
  this.customStyle,
});