diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-05-22 23:06:18 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-05-22 23:06:18 -0600 |
commit | 79bdf9cac504d35cf3cf671232b28b5b5ac03f12 (patch) | |
tree | c8ddb66955468f399a8a368464d0db53dc5c8f8d /lib/screens/dashboard_screen.dart | |
parent | 9139a65003d758b4ee52758149b178d8dc990e0e (diff) | |
download | linkchat-79bdf9cac504d35cf3cf671232b28b5b5ac03f12.tar.gz linkchat-79bdf9cac504d35cf3cf671232b28b5b5ac03f12.tar.bz2 linkchat-79bdf9cac504d35cf3cf671232b28b5b5ac03f12.zip |
Se implementan favoritos
Diffstat (limited to 'lib/screens/dashboard_screen.dart')
-rw-r--r-- | lib/screens/dashboard_screen.dart | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/screens/dashboard_screen.dart b/lib/screens/dashboard_screen.dart index 88bd8e7..97a9de6 100644 --- a/lib/screens/dashboard_screen.dart +++ b/lib/screens/dashboard_screen.dart @@ -30,6 +30,14 @@ class _DashboardScreenState extends State<DashboardScreen> { slivers: [ SliverAppBar.large( title: const Text('Inicio'), + actions: [ + IconButton( + icon: const Icon(Icons.favorite_outline), + onPressed: () { + Navigator.of(context).pushNamed('/favorites'); + }, + ) + ], ), SliverFillRemaining( hasScrollBody: true, |