BannerAdWidget constructor

const BannerAdWidget({
  1. required AdManager manager,
  2. Size? size,
  3. void onEvent(
    1. AdEvent event
    )?,
  4. Key? key,
})

Creates a banner ad widget with a fixed size.

Defaults to a standard 320x50 banner.

Implementation

const BannerAdWidget({
  required this.manager,
  this.size,
  this.onEvent,
  super.key,
}) : adaptive = false;