FlutterUnionadBannerView constructor

FlutterUnionadBannerView({
  1. Key? key,
  2. required String androidCodeId,
  3. required String iosCodeId,
  4. required double width,
  5. required double height,
  6. FlutterUnionadBannerCallBack? callBack,
})

banner广告

androidCodeId andrrid banner广告id 必填

iosCodeId ios banner广告id 必填

width 期望view宽度 dp 必填

height 期望view高度 dp 必填

FlutterUnionAdBannerCallBack banner广告回调

Implementation

FlutterUnionadBannerView(
    {Key? key,
    required this.androidCodeId,
    required this.iosCodeId,
    required this.width,
    required this.height,
    this.callBack})
    : super(key: key);