AdSize class abstract
Constructors
- AdSize.getAdaptiveBanner(double maxWidthDp)
-
Create Adaptive AdSize with Max Width dp for current screen orientation.
factory
- AdSize.getAdaptiveBannerInScreen()
-
Create Adaptive AdSize with screen width for current screen orientation.
factory
- AdSize.getInlineBanner(int width, int maxHeight)
-
Inline adaptive banners are larger, taller banners compared to anchored adaptive banners.
They are of variable height, and can be as tall as the device screen.
factory
- AdSize.getSmartBanner(BuildContext context)
-
Typically, Smart Banners on phones have a
BANNER
size. Or on tablets aLEADERBOARD
size.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- Adaptive → const AdSize
- Banner → const AdSize
- Standard banner size 320dp width and 50dp height
- Leaderboard → const AdSize
- leaderboard → const AdSize
- Leaderboard banner size 728dp width and 90dp height
- MediumRectangle → const AdSize
- mediumRectangle → const AdSize
- Medium Rectangle size 300dp width and 250dp height
- Smart → const AdSize