From 13e319157dba4e025647240c0bdb876d1b753e19 Mon Sep 17 00:00:00 2001 From: Sandertp Date: Thu, 22 Aug 2024 12:43:27 +0200 Subject: [PATCH] Add favorite page design Co-authored-by: Reimar --- Mobile/lib/favorites.dart | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Mobile/lib/favorites.dart b/Mobile/lib/favorites.dart index 9d1e128..8afc327 100644 --- a/Mobile/lib/favorites.dart +++ b/Mobile/lib/favorites.dart @@ -35,9 +35,25 @@ class _FavoritesPage extends State { Widget build(BuildContext context) { return SideMenu( body: Container( + decoration: BoxDecoration(color: Color(0xFFF9F9F9)), + width: MediaQuery.of(context).size.width, padding: const EdgeInsets.all(20.0), child: Column(children: - _favorites.map((favorite) => Text("${favorite.lat} ${favorite.lng}")).toList(), + _favorites.map((favorite) => Container( + width: double.infinity, + padding: const EdgeInsets.all(20.0), + decoration: const BoxDecoration( + boxShadow: [ + BoxShadow( + color: Color(0x20000000), + offset: Offset(0, 1), + blurRadius: 4, + ), + ], + color: Colors.white + ), + child: const Text("Favorite data here"), + )).toList(), ), ), );