Skip to content

Commit af8312f

Browse files
committed
feat(account): add entry point for saved filters management
Adds a new "Saved Filters" ListTile to the AccountPage. This serves as the new, centralized entry point for users to access the page where they can manage (reorder, rename, delete) their saved headline filters.
1 parent c391cfe commit af8312f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

lib/account/view/account_page.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,26 @@ class AccountPage extends StatelessWidget {
7272
indent: AppSpacing.paddingMedium,
7373
endIndent: AppSpacing.paddingMedium,
7474
),
75+
ListTile(
76+
leading: Icon(
77+
Icons.filter_list_alt,
78+
color: theme.colorScheme.primary,
79+
),
80+
// This will be updated to use l10n.accountSavedFiltersTile later.
81+
title: Text(
82+
'Saved Filters',
83+
style: textTheme.titleMedium,
84+
),
85+
trailing: const Icon(Icons.chevron_right),
86+
onTap: () {
87+
// This will be updated to use Routes.accountSavedFiltersName later.
88+
context.goNamed('accountSavedFilters');
89+
},
90+
),
91+
const Divider(
92+
indent: AppSpacing.paddingMedium,
93+
endIndent: AppSpacing.paddingMedium,
94+
),
7595
_buildSettingsTile(context),
7696
const Divider(
7797
indent: AppSpacing.paddingMedium,

0 commit comments

Comments
 (0)