@@ -15,34 +15,50 @@ class ManageFollowedItemsPage extends StatelessWidget {
15
15
@override
16
16
Widget build (BuildContext context) {
17
17
final l10n = context.l10n;
18
+ final theme = Theme .of (context);
19
+ final textTheme = theme.textTheme;
20
+ final colorScheme = theme.colorScheme;
18
21
19
22
return Scaffold (
20
23
appBar: AppBar (
21
24
title: Text (
22
25
l10n.accountContentPreferencesTile,
23
- ), // "Content Preferences"
26
+ style: textTheme.titleLarge, // Consistent AppBar title style
27
+ ),
24
28
),
25
29
body: ListView (
26
- padding: const EdgeInsets .symmetric (vertical: AppSpacing .md),
30
+ padding: const EdgeInsets .symmetric (vertical: AppSpacing .paddingSmall), // Adjusted padding
27
31
children: [
28
32
ListTile (
29
- leading: const Icon (Icons .category_outlined),
30
- title: Text (l10n.headlinesFeedFilterCategoryLabel), // "Categories"
33
+ leading: Icon (Icons .category_outlined, color: colorScheme.primary),
34
+ title: Text (
35
+ l10n.headlinesFeedFilterCategoryLabel, // "Categories"
36
+ style: textTheme.titleMedium,
37
+ ),
31
38
trailing: const Icon (Icons .chevron_right),
32
39
onTap: () {
33
40
context.goNamed (Routes .followedCategoriesListName);
34
41
},
35
42
),
36
- const Divider (indent: AppSpacing .lg, endIndent: AppSpacing .lg),
43
+ const Divider (
44
+ indent: AppSpacing .paddingMedium, // Consistent indent
45
+ endIndent: AppSpacing .paddingMedium,
46
+ ),
37
47
ListTile (
38
- leading: const Icon (Icons .source_outlined),
39
- title: Text (l10n.headlinesFeedFilterSourceLabel), // "Sources"
48
+ leading: Icon (Icons .source_outlined, color: colorScheme.primary),
49
+ title: Text (
50
+ l10n.headlinesFeedFilterSourceLabel, // "Sources"
51
+ style: textTheme.titleMedium,
52
+ ),
40
53
trailing: const Icon (Icons .chevron_right),
41
54
onTap: () {
42
55
context.goNamed (Routes .followedSourcesListName);
43
56
},
44
57
),
45
- const Divider (indent: AppSpacing .lg, endIndent: AppSpacing .lg),
58
+ const Divider (
59
+ indent: AppSpacing .paddingMedium, // Consistent indent
60
+ endIndent: AppSpacing .paddingMedium,
61
+ ),
46
62
// ListTile for Followed Countries removed
47
63
],
48
64
),
0 commit comments