bannerAdView function

Widget bannerAdView({
  1. bool? mIsExpress,
  2. required String androidCodeId,
  3. required String iosCodeId,
  4. bool? supportDeepLink,
  5. required int expressAdNum,
  6. int? expressTime,
  7. double? expressViewWidth,
  8. double? expressViewHeight,
  9. dynamic callBack,
})

banner广告

Implementation

Widget bannerAdView(
    {bool? mIsExpress,
    required String androidCodeId,
    required String iosCodeId,
    bool? supportDeepLink,
    required int expressAdNum,
    int? expressTime,
    double? expressViewWidth,
    double? expressViewHeight,
    callBack}) {
  return BannerAdView(
    mIsExpress: mIsExpress ?? false,
    androidCodeId: androidCodeId,
    iosCodeId: iosCodeId,
    supportDeepLink: supportDeepLink ?? true,
    expressViewWidth: expressViewWidth ?? 400,
    expressViewHeight: expressViewHeight ?? 200,
    expressAdNum: expressAdNum,
    expressTime: expressTime ?? 30,
    callBack: callBack,
  );
}