BannerAd class

Constructors

BannerAd({required String adSlotId, required BannerAdSize size, int? bannerRefreshTime, AdListener? listener, AdParam? adParam})

Properties

adParam AdParam
getter/setter pair
adSlotId String
getter/setter pair
bannerRefreshTime int?
getter/setter pair
getAdListener AdListener?
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setAdListener AdListener
no getter
size BannerAdSize
getter/setter pair

Methods

destroy() Future<bool?>
isLoading() Future<bool?>
loadAd() Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<bool?>
resume() Future<bool?>
show({Gravity gravity = Gravity.bottom, double offset = 0.0}) Future<bool?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

bannerAds Map<int, BannerAd?>
final