loadSplashViewAd static method

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

开屏广告

mIsExpress 是否使用个性化模版 设定widget宽高

androidAppId android 开屏广告广告id 必填

iosAppId ios 开屏广告广告id 必填

supportDeepLink 是否支持 DeepLink 选填

expressWidth 期望view 宽度 dp 选填 mIsExpress=true必填

expressHeight 期望view高度 dp 选填 mIsExpress=true必填

FlutterPangolinUnionadSplashCallBack 开屏广告回调

Implementation

static Widget loadSplashViewAd({
  required String iosAppId,
  required String androidAppId,
  bool? mIsExpress,
  bool? supportDeepLink,
  double? expressWidth,
  double? expressHeight,
  FlutterPangolinUnionadSplashCallBack? callBack,
}) {
  return SplashAdView(
    iosAppId: iosAppId,
    androidAppId: androidAppId,
    mIsExpress: mIsExpress ?? false,
    supportDeepLink: supportDeepLink ?? true,
    expressWidth: expressWidth ?? 0.0,
    expressHeight: expressHeight ?? 0.0,
    callBack: callBack,
  );
}