From d520fe2f0bf17ec613215eeedae077769eb55c8c Mon Sep 17 00:00:00 2001
From: vjrj <vjrj@comunes.org>
Date: Wed, 16 Aug 2023 23:44:57 +0200
Subject: [PATCH] Added shadow

---
 lib/ui/widgets/first_screen/card_stack.dart | 31 ++++++++++++++++-----
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/lib/ui/widgets/first_screen/card_stack.dart b/lib/ui/widgets/first_screen/card_stack.dart
index f7c36ebe..8b49bab1 100644
--- a/lib/ui/widgets/first_screen/card_stack.dart
+++ b/lib/ui/widgets/first_screen/card_stack.dart
@@ -29,13 +29,30 @@ class _CardStackState extends State<CardStack> {
           ),
         ),
         Positioned(
-          right: 30,
-          bottom: -13,
-          child: FloatingActionButton(
-            onPressed: () {},
-            child: const Icon(Icons.add),
-          ),
-        )
+            right: 30,
+            bottom: -15,
+            child: Container(
+              decoration: const BoxDecoration(
+                shape: BoxShape.circle,
+                boxShadow: <BoxShadow>[
+                  BoxShadow(
+                    color: Colors.black45,
+                    spreadRadius: 10,
+                    blurRadius: 10,
+                    offset: Offset(0, 6),
+                  ),
+                ],
+              ),
+              child: FloatingActionButton(
+                // elevation: 20,
+                /* shape: RoundedRectangleBorder(
+                  side: const BorderSide(color: Colors.grey, width: 1.0),
+                  borderRadius: BorderRadius.circular(20),
+                ), */
+                onPressed: () {},
+                child: const Icon(Icons.add),
+              ),
+            ))
       ],
     );
   }
-- 
GitLab