NativeAdController class
Constructors
- NativeAdController({required String adUnitId, NativeAdType type = NativeAdType.ADS_MEDIUM, AdEventCallback? onAdLoaded, dynamic onAdFailedToLoad(Ad ad, LoadAdError error)?, AdEventCallback? onAdOpened, AdEventCallback? onAdClosed, int? adHeight})
- NativeAdController.fromKey({required String configKey})
-
factory
Properties
- adHeight → int?
-
final
-
adsLoad
↔ Completer<
bool> -
getter/setter pair
- adUnitId → String
-
final
- animatedAdWidget → Widget
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
no setter
- onAdClosed → AdEventCallback?
-
final
- onAdFailedToLoad → dynamic Function(Ad ad, LoadAdError error)?
-
final
- onAdLoaded → AdEventCallback?
-
final
- onAdOpened → AdEventCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NativeAdType
-
final
- widget → Widget
-
no setter
Methods
-
dispose(
) → void -
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