smartBanner constant
AdSize?
const smartBanner
The smart banner size. Smart banners are unique in that the width and height values declared here aren't used. At runtime, the Mobile Ads SDK will automatically adjust the banner's width to match the width of the displaying device's screen. It will also set the banner's height using a calculation based on the displaying device's height. For more info see the Android and iOS banner ad guides.
Implementation
static const AdSize smartBanner = AdSize._(
width: 0,
height: 0,
adSizeType: AdSizeType.SmartBanner,
);