AdBannerWidget constructor

AdBannerWidget({
  1. Key? key,
  2. required String posId,
  3. int width = 300,
  4. int height = 150,
  5. int interval = 0,
  6. bool show = true,
  7. bool autoClose = true,
})

Implementation

AdBannerWidget({
  Key? key,
  required this.posId,
  this.width = 300,
  this.height = 150,
  this.interval = 0,
  this.show = true,
  this.autoClose = true,
}) : super(key: key);