We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86bea33 commit a080791Copy full SHA for a080791
lib/ads/ad_provider.dart
@@ -1,5 +1,5 @@
1
import 'package:core/core.dart';
2
-import 'package:flutter/material.dart';
+import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_theme_style.dart';
3
import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/native_ad.dart'
4
as app_native_ad;
5
@@ -29,7 +29,7 @@ abstract class AdProvider {
29
/// that best matches the visual density of the surrounding content.
30
Future<app_native_ad.NativeAd?> loadNativeAd({
31
required HeadlineImageStyle imageStyle,
32
- required ThemeData theme,
+ required AdThemeStyle adThemeStyle,
33
});
34
35
// Future methods for other ad types (e.g., interstitial, banner)
0 commit comments