YFAdsNativeAndroidBean constructor

const YFAdsNativeAndroidBean({
  1. required String positionId,
  2. int uniqueKey = -1,
  3. int? containerWidth,
  4. int? containerHeight,
  5. int? cornerSize,
  6. int? resourceLayoutId,
  7. String tag = "native",
  8. dynamic callBack(
    1. YFAdsCallBack
    )?,
})

Implementation

const YFAdsNativeAndroidBean(
    {required String positionId,
    int uniqueKey = -1,
    this.containerWidth,
    this.containerHeight,
    this.cornerSize,
    this.resourceLayoutId,
    this.tag = "native",
    Function(YFAdsCallBack)? callBack})
    : super(positionId: positionId, uniqueKey: uniqueKey, tag: tag, callBack: callBack);