NativeAdCustomOptions class

Constructors

NativeAdCustomOptions(NativeAdSize nativeAdSize, {required AdStarsConfig adStarsConfig, required AdPriceConfig adPriceConfig, required AdStoreConfig adStoreConfig, required AdHeadlineConfig adHeadlineConfig, required AdAdvertiserConfig adAdvertiserConfig, required AdIconConfig adIconConfig, required AdBodyConfig adBodyConfig, required AdActionButtonConfig adActionButtonConfig, required AdLayoutConfig adLayoutConfig, required AdMediaConfig adMediaConfig, String backgroundColor = "#000000"})

Properties

adActionButtonConfig AdActionButtonConfig
final
adAdvertiserConfig AdAdvertiserConfig
final
adBodyConfig AdBodyConfig
final
adHeadlineConfig AdHeadlineConfig
final
adIconConfig AdIconConfig
final
adLayoutConfig AdLayoutConfig
final
adMediaConfig AdMediaConfig
final
adPriceConfig AdPriceConfig
final
adStarsConfig AdStarsConfig
final
adStoreConfig AdStoreConfig
final
backgroundColor String
final
getInlineAdHeight double
no setter
hashCode int
The hash code for this object.
no setterinherited
nativeAdSize NativeAdSize
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toMap Map<String, Object>
Convert to map to pass to customOptions in NativeAd
no setter

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

Static Methods

defaultConfig(NativeAdSize nativeAdSize, {AdStarsConfig? adStarsConfig, AdPriceConfig? adPriceConfig, AdStoreConfig? adStoreConfig, AdHeadlineConfig? adHeadlineConfig, AdAdvertiserConfig? adAdvertiserConfig, AdIconConfig? adIconConfig, AdBodyConfig? adBodyConfig, AdActionButtonConfig? adActionButtonConfig, String backgroundColor = "#000000", AdLayoutConfig? adLayoutConfig, AdMediaConfig? adMediaConfig}) NativeAdCustomOptions
Generates default options