From 669e7032c162fa3060b6e5798dc8eb8f99fd0ea4 Mon Sep 17 00:00:00 2001 From: Crondung <1922635@stud.hs-mannheim.de> Date: Sun, 5 Mar 2023 17:49:12 +0100 Subject: [PATCH] icon size relative to screensize --- lib/widgets/round_button_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/round_button_widget.dart b/lib/widgets/round_button_widget.dart index bfe5cc3..2af5df4 100644 --- a/lib/widgets/round_button_widget.dart +++ b/lib/widgets/round_button_widget.dart @@ -18,7 +18,7 @@ class RoundAddButton extends StatelessWidget { child: Icon( Icons.add_outlined, color: Colors.white, - size: MediaQuery.of(context).size.height * 0.5, + size: MediaQuery.of(context).size.height * 0.05, ), ); }