BannerAdSize.inline constructor

const BannerAdSize.inline({
  1. required int width,
  2. required int maxHeight,
})

Returns flexible banner size. Banners with flexible sizes stretch to container width and height when possible.

width The width of the ad container in density-independent pixels (dp). maxHeight The maximum height of the ad container in density-independent pixels (dp).

Implementation

const BannerAdSize.inline({
  required int width,
  required int maxHeight,
}) : this._(width, maxHeight, _AdSizeType.inline);