BannerOptions class

Banner options configuration class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

BannerOptions({bool parentalGateEnabled = false, bool bumperPageEnabled = false, String? bumperPageCustomAppName, bool? isBackgroundTransparent = true})
BannerOptions.fromJson(Map<String, dynamic> json)
factory

Properties

bumperPageCustomAppName String?
Set app name to be displayed on the bumper page. By default, the Bumper page displays the application name.
getter/setter pairinherited
bumperPageEnabled bool?
The Bumper page is a customizable dialog that notifies the user when they are about to leave a kid-safe place and proceed to an external website. Disabled by default.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isBackgroundTransparent bool?
Set whether the banner background is transparent or gray.
getter/setter pair
parentalGateEnabled bool?
The Parental gate is a dialog that appears when a user clicks on an ad, disabled by default. Recommended to set it to true if the app is in the kids category.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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