BannerAdWidget constructor
BannerAdWidget({
- required String adUnit,
- required BannerAdType? adType,
- required double height,
- double? borderRoundness,
- String? shimmerBackgroundColor,
- bool? enableShimmerEffect,
- 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,
});