expressAdView method Null safety

Widget expressAdView(
  1. {required String androidId,
  2. required String iosId,
  3. required int viewWidth,
  4. required int viewHeight,
  5. FlutterTencentadExpressCallBack? callBack}
)

动态信息流/横幅/视频贴片广告

androidId android广告ID

iosId ios广告ID

viewWidth 广告宽 单位dp

viewHeight 广告高 单位dp

FlutterTencentAdExpressCallBack 回调事件

Implementation

static Widget expressAdView(
    {required String androidId,
      required String iosId,
    required int viewWidth,
    required int viewHeight,
    FlutterTencentadExpressCallBack? callBack}) {
  return ExpressAdView(
    androidId: androidId,
    iosId: iosId,
    viewWidth: viewWidth,
    viewHeight: viewHeight,
    callBack: callBack,
  );
}