From 53a8ab44e9aba232ba053384ba83ea1882eeaaae Mon Sep 17 00:00:00 2001
From: Sara <sarasdj@stud.ntnu.no>
Date: Mon, 12 Feb 2024 20:05:01 +0100
Subject: [PATCH] update: arrow icon and transparency

---
 app/lib/pages/widgets/map_widget.dart | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/lib/pages/widgets/map_widget.dart b/app/lib/pages/widgets/map_widget.dart
index 4e769c32..fb4f8d6f 100644
--- a/app/lib/pages/widgets/map_widget.dart
+++ b/app/lib/pages/widgets/map_widget.dart
@@ -80,14 +80,14 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
                         child: Container(
                           width: (screenWidth * boxWidth) / 2.4,
                           height: isMinimized ? 20 : (screenWidth * boxWidth) / 2.4,
-                          color: darkBlue,
+                          color: Colors.blue.withOpacity(0.7),
                           child: Stack(
                             children: [
                               Visibility( // Content only visible when box is maximized
                                 visible: !isMinimized && selectedMarker != null,
                                 child: Center(
                                   child: Padding(
-                                    padding: const EdgeInsets.only(right: 14.0, top: 14.0),
+                                    padding: const EdgeInsets.only(right: 16.0, top: 17.0),
                                     child: SizedBox(
                                       width: (screenWidth * boxWidth) / 2.3,
                                       height: (screenWidth * boxWidth) / 2.3,
@@ -97,7 +97,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
                                 ),
                               ),
                               Positioned(
-                                top: isMinimized ? 0 : 5,
+                                top: 0,
                                 right: 5,
                                 child: GestureDetector(
                                   onTap: () {
@@ -105,7 +105,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
                                       isMinimized = !isMinimized; // Toggle the minimized state
                                     });
                                   },
-                                  child: Icon(isMinimized ? Icons.arrow_upward : Icons.arrow_downward),
+                                  child: Icon(isMinimized ? Icons.arrow_drop_up : Icons.arrow_drop_down),
                                 ),
                               ),
                             ],
-- 
GitLab