File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
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/content_manageme
17
17
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/view/edit_headline_page.dart' ;
18
18
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/view/edit_source_page.dart' ;
19
19
import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/view/edit_topic_page.dart' ;
20
+ import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/view/archived_content_page.dart' ;
20
21
import 'package:flutter_news_app_web_dashboard_full_source_code/dashboard/view/dashboard_page.dart' ;
21
22
import 'package:flutter_news_app_web_dashboard_full_source_code/router/routes.dart' ;
22
23
import 'package:flutter_news_app_web_dashboard_full_source_code/settings/view/settings_page.dart' ;
@@ -196,6 +197,11 @@ GoRouter createRouter({
196
197
return EditSourcePage (sourceId: id);
197
198
},
198
199
),
200
+ GoRoute (
201
+ path: Routes .archivedContent,
202
+ name: Routes .archivedContentName,
203
+ builder: (context, state) => const ArchivedContentPage (),
204
+ ),
199
205
],
200
206
),
201
207
],
Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ abstract final class Routes {
44
44
/// The name for the content management section route.
45
45
static const String contentManagementName = 'contentManagement' ;
46
46
47
+ /// The path for the archived content page.
48
+ static const String archivedContent = 'archived-content' ;
49
+
50
+ /// The name for the archived content page route.
51
+ static const String archivedContentName = 'archivedContent' ;
52
+
47
53
/// The path for creating a new headline.
48
54
static const String createHeadline = 'create-headline' ;
49
55
You can’t perform that action at this time.
0 commit comments