AdOverlayComponents class

Utility class for building overlay components used in native advertisements.

This class provides static methods to create overlay elements like labels and badges that appear on top of ad content. These components are designed to work within Stack layouts and handle proper positioning and styling.

Constructors

AdOverlayComponents()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

buildAdLabelOverlay(String? label, Widget? badgeView, Alignment alignment, double width) Widget
Builds an overlay widget for ad labels and badges.
buildPositionedAdLabelOverlay(String? label, Widget? badgeView, Alignment alignment, double width) Widget
Builds a positioned ad label overlay based on alignment.