HighfivveBannerAdWidget constructor
const
HighfivveBannerAdWidget({})
Creates a HighfivveBannerAdWidget.
position is required and uniquely identifies the ad placement (e.g., "content_1").
showWidget controls whether the widget is shown (default: true).
pageType describes the context or type of page (e.g., "home", "detail").
maxHeight define the minimum and maximum height of the ad widget.
onAdNotFound is a callback triggered when no ad is available for this position.
Implementation
const HighfivveBannerAdWidget({
required this.position,
this.showWidget = true,
this.pageType,
this.maxHeight,
this.onAdNotFound,
super.key,
});