splashAdView method Null safety

Widget splashAdView(
  1. {required String androidId,
  2. required String iosId,
  3. required int fetchDelay,
  4. FlutterTencentadSplashCallBack? callBack}
)

开屏广告

androidId android广告ID

iosId ios广告ID

fetchDelay 设置开屏广告从请求到展示所花的最大时长(并不是指广告曝光时长), 取值范围为1500, 5000ms。如果需要使用默认值,可以调用上一个构造方法, 或者给 fetchDelay 设为0。

FlutterTencentAdSplashCallBack 广告回调

Implementation

static Widget splashAdView(
    {required String androidId,
      required String iosId,
    required int fetchDelay,
    FlutterTencentadSplashCallBack? callBack}) {
  return SplashAdView(
    androidId: androidId,
    iosId: iosId,
    fetchDelay: fetchDelay,
    callBack: callBack,
  );
}