createBannerAd method

void createBannerAd()

Implementation

void createBannerAd() {
  ad = BannerAd(
      size: AdSize.banner,
      adUnitId: widget.adUnitId,
      listener: listener(),
      request: widget.adRequest);
  ad.load();
}