HostedAdd class

A model class for self hosted ad

Constructors

HostedAdd({required String targetUrl, required List<String> imageUrls, Duration stepDuration = const Duration(seconds: 30), int loopCount = 0, Color? backgroundColor})
A model class for self hosted ad
const

Properties

backgroundColor → Color?
The background color of the ad banner.
final
hashCode → int
The hash code for this object.
no setterinherited
imageUrls → List<String>
A list of image URLs to be displayed in the ad banner.
final
loopCount → int
The number of times the ad banner should loop through the images.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stepDuration → Duration
The duration for which each image is displayed before transitioning to the next one.
final
targetUrl → String
The URL to which the ad banner should redirect when clicked.
final

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