native_googleads library
Classes
- AdConfig
- Configuration class for Google Mobile Ads initialization.
- AdRequestConfig
- Configuration for ad requests.
- AdTestIds
- Contains Google's test ad unit IDs for development.
- BannerAdWidget
- A widget that displays a banner ad.
- NativeAdAttributionStyle
- Ad attribution label style configuration
- NativeAdButtonStyle
- Style configuration for call to action button
- NativeAdMediaStyle
- Media view configuration for native ads
- NativeAdStyle
- Configuration class for native ad styling and layout options.
- NativeAdStyleBuilder
- Builder class for creating NativeAdStyle instances with a fluent API.
- NativeAdWidget
- A widget that displays a native ad.
- NativeGoogleads
- Main class for interacting with Google Mobile Ads.
Enums
- BannerAdSize
- Enum for banner ad sizes.
- NativeAdMediaAspectRatio
- Enum for native ad media aspect ratio preferences.
- NativeAdTemplate
- Native ad template types for predefined layouts.
Typedefs
- AdCallback = void Function(String adType)
- Callback for ad lifecycle events.
- AdErrorCallback = void Function(String adType, String error)
- Callback for ad error events.
- RewardCallback = void Function(String type, int amount)
- Callback for rewarded ad completion.