From 9dd2c836468781e4a8adc218424606099a2e0b9a Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Sun, 11 Jul 2021 18:00:08 +0200 Subject: [PATCH] added unfocus when review button is clicked when adding a PizzaEvent --- lib/pages/AddPizzaEventPage.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/AddPizzaEventPage.dart b/lib/pages/AddPizzaEventPage.dart index 09abc64..d6ebdcb 100644 --- a/lib/pages/AddPizzaEventPage.dart +++ b/lib/pages/AddPizzaEventPage.dart @@ -184,6 +184,7 @@ class AddPizzaEventPageState extends State { setState(() { this.nameValidation = true; }); return; } + FocusScope.of(context).unfocus(); DateTime eventTime = await showDialog( context: context, builder: (context) {