BannerAd class

A banner ad for the QpcAdmobPlugin.

Inheritance

Constructors

BannerAd({@required String adPlatform, @required String adUnitId, @required AdSize size, MobileAdTargetingInfo targetingInfo, MobileAdListener listener})
Create a BannerAd. [...]

Properties

adPlatform String
final, inherited
adUnitId String
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
An internal id that identifies this mobile ad to the native AdMob plugin. [...]
read-only, inherited
listener MobileAdListener
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size AdSize
final
targetingInfo MobileAdTargetingInfo
read-only, inherited

Methods

dispose() Future<bool>
Free the plugin resources associated with this ad. [...]
inherited
isLoaded() Future<bool>
inherited
load() Future<bool>
Start loading this ad.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
show({double anchorOffset = 0.0, double horizontalCenterOffset = 0.0, AnchorType anchorType = AnchorType.bottom}) Future<bool>
Show this ad. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited