drawFeedAdView static method

Widget drawFeedAdView({
  1. required String iosAppId,
  2. required String androidAppId,
  3. bool? mIsExpress,
  4. bool? supportDeepLink,
  5. required double expressWidth,
  6. required double expressHeight,
  7. FlutterPangolinUnionadDrawFeedCallBack? callBack,
})

draw视频广告

mIsExpress 是否使用个性化模版

androidAppId android draw视频广告id 必填

iosAppId ios draw视频广告 必填

supportDeepLink 是否支持 DeepLink 选填

expressWidth 期望view 宽度 dp 必填

expressHeight 期望view高度 dp 必填

FlutterPangolinUnionadDrawFeedCallBack draw视频广告回调

Implementation

static Widget drawFeedAdView({
  required String iosAppId,
  required String androidAppId,
  bool? mIsExpress,
  bool? supportDeepLink,
  required double expressWidth,
  required double expressHeight,
  FlutterPangolinUnionadDrawFeedCallBack? callBack,
}) {
  return DrawFeedAdView(
    iosAppId: iosAppId,
    androidAppId: androidAppId,
    mIsExpress: mIsExpress ?? false,
    supportDeepLink: supportDeepLink ?? true,
    expressWidth: expressWidth,
    expressHeight: expressHeight,
    callBack: callBack,
  );
}