Skip to content

Commit 0e7b7f3

Browse files
committed
docs(ads): add documentation for adThemeStyle in loadNativeAd method
- Clarify the purpose of the adThemeStyle parameter - Explain that it provides UI-agnostic theme properties for ad styling - Improve code readability and understanding for developers
1 parent 9fe36b7 commit 0e7b7f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ads/ad_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ abstract class AdProvider {
2727
///
2828
/// The [imageStyle] is used to select an appropriate native ad template
2929
/// that best matches the visual density of the surrounding content.
30+
/// The [adThemeStyle] provides UI-agnostic theme properties for ad styling.
3031
Future<app_native_ad.NativeAd?> loadNativeAd({
3132
required HeadlineImageStyle imageStyle,
3233
required AdThemeStyle adThemeStyle,

0 commit comments

Comments
 (0)