BannerAdController class

Inheritance
Mixed in types

Constructors

BannerAdController({Duration loadTimeout = kDefaultLoadTimeout, Duration timeout = kDefaultAdTimeout})
Creates a new native ad controller

Properties

channel MethodChannel
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The unique key of this class
no setterinherited
isAttached bool
Check if the controller is attached to an Ad
no setterinherited
isAvailable bool
no setterinherited
isDisposed bool
no setterinherited
isLoaded bool
Check if the ad is loaded
getter/setter pairinherited
lastLoadedTime DateTime?
getter/setter pairinherited
loadTimeout Duration
finalinherited
nonPersonalizedAds bool
finalinherited
onEvent Stream<Map<BannerAdEvent, dynamic>>
no setteroverride
onEventController StreamController<Map<BannerAdEvent, dynamic>>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverSideVerificationOptions ServerSideVerificationOptions?
finalinherited
timeout Duration
finalinherited
unitId String?
The unit id used on this ad. Can be null
finalinherited

Methods

attach([bool attach = true]) → void
inherited
dispose() → void
override
ensureAdAvailable() → void
inherited
ensureAdNotDisposed() → void
inherited
init() → void
override
load({bool force = false, Duration? timeout}) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() Future<bool>
inherited
toString() String
A string representation of this object.
inherited

Operators

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