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
1717import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/app_localizations.dart' ;
1818import 'package:flutter_news_app_web_dashboard_full_source_code/router/router.dart' ;
1919import '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' ;
2021import 'package:go_router/go_router.dart' ;
2122import 'package:kv_storage_service/kv_storage_service.dart' ;
2223import 'package:logging/logging.dart' ;
@@ -206,7 +207,6 @@ class _AppViewState extends State<_AppView> {
206207 fontFamily: fontFamily,
207208 );
208209
209- const double kMaxAppWidth = 1000 ; // Local constant for max width
210210 return Center (
211211 child: Card (
212212 margin: EdgeInsets .zero, // Remove default card margin
@@ -217,7 +217,8 @@ class _AppViewState extends State<_AppView> {
217217 ), // Match cardRadius from theme
218218 ),
219219 child: ConstrainedBox (
220- constraints: const BoxConstraints (maxWidth: kMaxAppWidth),
220+ constraints:
221+ const BoxConstraints (maxWidth: AppConstants .kMaxAppWidth),
221222 child: MaterialApp .router (
222223 debugShowCheckedModeBanner: false ,
223224 routerConfig: _router,
You can’t perform that action at this time.
0 commit comments