flutter_ads_sdk library

Flutter Ads SDK

A platform-independent advertising SDK for Flutter applications. Enables developers to monetize apps across Web, Desktop, and Mobile with full control over ad rendering, routing, and analytics.

Includes support for:

  • Native and Mini Native ads
  • Rewarding and video ads
  • Fully customizable UI styling
  • Transparent impression and click tracking

Classes

AdListTile
AdListTileStyle
Styling configuration for an ad list tile.
CarouselMediaModel
Model for carousel media.
ExpandedHeightConstraint
Expands media to fill all available vertical space.
FixedHeightConstraint
Uses a fixed height for media.
FlutterAds
Main entry point for the Flutter Ads SDK.
FlutterAdsDummyDataHelper
FlutterAdsWrapperBase
HeightConstraint
Base abstraction for defining height behavior of ad media.
ImageMediaModel
Base model for image-based media.
LocalCarouselMediaModel
Carousel media using local image assets.
LocalImageMediaModel
Image media loaded from a local file path.
MaxHeightConstraint
Limits media to a maximum height.
MediaModel
Base abstraction for all media types used in ads.
MemoryCarouselMediaModel
Carousel media using in-memory images.
MemoryImageMediaModel
Image media loaded from memory (raw bytes).
MemoryVideoMediaModel
Video media loaded from local storage.
MiniNativeAdStylingModel
Styling model for Mini Native ads.
NativeAdStylingModel
Styling model for full Native ads.
NativeFullScreenAdStylingModel
Styling model for Native Fullscreen ads.
RewardingAdStylingModel
Styling model for Rewarding (reward-based) ads.
UrlCarouselMediaModel
Carousel media loaded from remote URLs.
UrlImageMediaModel
Image media loaded from a remote URL.
URLVideoMediaModel
Video media loaded from a remote URL.
VideoEmbeddedAdStylingModel
Styling model for video embedded ads.
VideoMediaModel
Model for video-based media.

Enums

AdType
Supported ad formats in Flutter Ads SDK.
AgeGroup
Optional demographic signal provided by developer.
DeviceType
Represents detected device category.
EventType
Represents ad interaction events.
UserGender
Optional gender signal provided by developer.