Skip to content

Commit 1452b59

Browse files
committed
feat(feed): add settings and bookmark icons
- Added settings icon - Added bookmark icon - Updated AppBar
1 parent 3d4a714 commit 1452b59

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

lib/headlines-feed/view/headlines_feed_page.dart

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,29 @@ class _HeadlinesFeedViewState extends State<_HeadlinesFeedView> {
6868
Widget build(BuildContext context) {
6969
return Scaffold(
7070
appBar: AppBar(
71+
leadingWidth: 100,
72+
leading: Row(
73+
children: [
74+
IconButton(
75+
icon: const Icon(Icons.settings),
76+
onPressed: () {},
77+
),
78+
IconButton(
79+
icon: const Icon(Icons.bookmark_border_outlined),
80+
selectedIcon: const Icon(Icons.bookmark_border),
81+
onPressed: () {},
82+
),
83+
],
84+
),
7185
title: const Text('HT'),
86+
centerTitle: true,
7287
actions: [
7388
IconButton(
7489
icon: const Icon(Icons.search),
7590
onPressed: () {
7691
context.pushNamed(Routes.searchName);
7792
},
7893
),
79-
IconButton(
80-
icon: const Icon(Icons.bookmark_border),
81-
onPressed: () {},
82-
),
8394
BlocBuilder<HeadlinesFeedBloc, HeadlinesFeedState>(
8495
builder: (context, state) {
8596
var isFilterApplied = false;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ht_main
22
description: main headlines toolkit mobile app.
3-
version: 0.29.0
3+
version: 0.30.0
44
publish_to: none
55
repository: https://github.com/headlines-toolkit/ht-main
66
environment:

0 commit comments

Comments
 (0)