BaiduSplashAdView constructor

const BaiduSplashAdView({
  1. Key? key,
  2. required String androidId,
  3. required String iosId,
  4. String? appSid,
  5. int? timeout,
  6. required double width,
  7. required double height,
  8. BaiduAdSplashCallBack? callBack,
})

百度开屏广告

androidId android广告位id

iosId ios广告位id

appSid 动态设置APPSID,该信息可从移动联盟获得

timeout 超时时间

width

height

callBack 回调 BaiduAdSplashCallBack

Implementation

const BaiduSplashAdView(
    {Key? key,
    required this.androidId,
    required this.iosId,
    this.appSid,
    this.timeout,
    required this.width,
    required this.height,
    this.callBack})
    : super(key: key);