BannerSize.fromWH constructor

BannerSize.fromWH(
  1. double width,
  2. double height
)

Creates banner ad with a custom size from width and height. Keep in mind that the ad may not fit well with custom sizes

For more info, read the documentation

Implementation

factory BannerSize.fromWH(double width, double height) {
  return BannerSize(Size(width, height));
}