BannerAdWidget constructor

BannerAdWidget({
  1. required String adUnit,
  2. required BannerAdType? adType,
  3. required double height,
  4. double? borderRoundness,
  5. String? shimmerBackgroundColor,
  6. bool? enableShimmerEffect,
  7. BannerShimmerColor? shimmerColor,
})

Constructs a BannerAdWidget.

adUnit and height are required. All other parameters are optional.

Implementation

BannerAdWidget({
  required this.adUnit,
  required this.adType,
  required this.height,
  this.borderRoundness,
  this.shimmerBackgroundColor,
  this.enableShimmerEffect,
  this.shimmerColor,
});