File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import 'package:flutter_news_app_web_dashboard_full_source_code/dashboard/bloc/d
17
17
import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart' ;
18
18
import 'package:flutter_news_app_web_dashboard_full_source_code/router/router.dart' ;
19
19
import 'package:flutter_news_app_web_dashboard_full_source_code/shared/services/throttled_fetching_service.dart' ;
20
+ import 'package:flutter_news_app_web_dashboard_full_source_code/shared/shared.dart' ;
20
21
import 'package:go_router/go_router.dart' ;
21
22
import 'package:kv_storage_service/kv_storage_service.dart' ;
22
23
import 'package:logging/logging.dart' ;
@@ -206,7 +207,6 @@ class _AppViewState extends State<_AppView> {
206
207
fontFamily: fontFamily,
207
208
);
208
209
209
- const double kMaxAppWidth = 1000 ; // Local constant for max width
210
210
return Center (
211
211
child: Card (
212
212
margin: EdgeInsets .zero, // Remove default card margin
@@ -217,7 +217,8 @@ class _AppViewState extends State<_AppView> {
217
217
), // Match cardRadius from theme
218
218
),
219
219
child: ConstrainedBox (
220
- constraints: const BoxConstraints (maxWidth: kMaxAppWidth),
220
+ constraints:
221
+ const BoxConstraints (maxWidth: AppConstants .kMaxAppWidth),
221
222
child: MaterialApp .router (
222
223
debugShowCheckedModeBanner: false ,
223
224
routerConfig: _router,
You can’t perform that action at this time.
0 commit comments