@@ -7,7 +7,6 @@ import 'package:flutter/foundation.dart' show kIsWeb;
77import 'package:flutter/material.dart' ;
88import 'package:flutter_bloc/flutter_bloc.dart' ;
99import 'package:flutter_news_app_mobile_client_full_source_code/account/bloc/account_bloc.dart' ;
10- import 'package:flutter_news_app_mobile_client_full_source_code/ads/ad_service.dart' ;
1110import 'package:flutter_news_app_mobile_client_full_source_code/ads/interstitial_ad_manager.dart' ;
1211import 'package:flutter_news_app_mobile_client_full_source_code/ads/models/ad_theme_style.dart' ;
1312import 'package:flutter_news_app_mobile_client_full_source_code/ads/widgets/in_article_ad_loader_widget.dart' ;
@@ -243,7 +242,6 @@ class _HeadlineDetailsPageState extends State<HeadlineDetailsPage> {
243242
244243 final appBlocState = context.watch <AppBloc >().state;
245244 final adConfig = appBlocState.remoteConfig? .adConfig;
246- final adService = context.read <AdService >();
247245 final adThemeStyle = AdThemeStyle .fromTheme (Theme .of (context));
248246
249247 Future <void > onEntityChipTap (ContentType type, String id) async {
@@ -376,7 +374,6 @@ class _HeadlineDetailsPageState extends State<HeadlineDetailsPage> {
376374 padding: horizontalPadding,
377375 child: InArticleAdLoaderWidget (
378376 slotConfiguration: aboveContinueReadingSlot,
379- adService: adService,
380377 adThemeStyle: adThemeStyle,
381378 adConfig: adConfig,
382379 ),
@@ -444,7 +441,6 @@ class _HeadlineDetailsPageState extends State<HeadlineDetailsPage> {
444441 padding: horizontalPadding,
445442 child: InArticleAdLoaderWidget (
446443 slotConfiguration: belowContinueReadingSlot,
447- adService: adService,
448444 adThemeStyle: adThemeStyle,
449445 adConfig: adConfig,
450446 ),
0 commit comments