FlutterUnionadNativeAdView constructor

FlutterUnionadNativeAdView({
  1. Key? key,
  2. required String androidCodeId,
  3. required String iosCodeId,
  4. required bool? supportDeepLink,
  5. required double width,
  6. required double height,
  7. FlutterUnionadNativeCallBack? callBack,
})

信息流广告

androidCodeId android 信息流广告id 必填

iosCodeId ios 信息流广告id 必填

supportDeepLink 是否支持 DeepLink 选填

width 期望view 宽度 dp 必填

height 期望view高度 dp 必填

FlutterUnionAdNativeCallBack 信息流广告回调

Implementation

FlutterUnionadNativeAdView(
    {Key? key,
    required this.androidCodeId,
    required this.iosCodeId,
    required this.supportDeepLink,
    required this.width,
    required this.height,
    this.callBack})
    : super(key: key);