Ad Support (Flutter)

Show or hide the ad badge on the video feed item

VideoFeed(
  source: VideoFeedSource.discover,
  videoFeedConfiguration: VideoFeedConfiguration(
    showAdBadge: true,
  ),
);

Customize ad badge styles

FireworkSDK.getInstance().adBadgeConfiguration = AdBadgeConfiguration(
  badgeTextType: AdBadgeTextType.ad,
  backgroundColor: "#ff0000",
  textColor: "#000000",
);

Last updated

Was this helpful?