PDAAdCustomStyle constructor

const PDAAdCustomStyle({
  1. double? bannerWidth,
  2. double? bannerHeight,
  3. double? nativeAdWidth,
  4. double? nativeAdHeight,
  5. Axis productScrollDirection = Axis.horizontal,
  6. PdaProductStyle pdaProductStyle = PdaProductStyle.horizontal,
  7. NativeAdLayoutType nativeAdLayoutType = NativeAdLayoutType.small,
  8. NativeAdStyle? nativeStyle,
  9. Widget? ctaButton,
  10. Widget? customAdContent,
  11. dynamic nativeAdAppear(
    1. NativeAd
    )?,
  12. dynamic nativeAdClicked(
    1. NativeAd
    )?,
})

Implementation

const PDAAdCustomStyle({
  this.bannerWidth,
  this.bannerHeight,
  this.nativeAdWidth,
  this.nativeAdHeight,
  this.productScrollDirection = Axis.horizontal,
  this.pdaProductStyle = PdaProductStyle.horizontal,
  this.nativeAdLayoutType = NativeAdLayoutType.small,
  this.nativeStyle,
  this.ctaButton,
  this.customAdContent,
  this.nativeAdAppear,
  this.nativeAdClicked,
});