From 9c9b5a394c129e9c4577baf20a17662595be3d57 Mon Sep 17 00:00:00 2001 From: Julian Gegner Date: Tue, 8 Nov 2022 22:12:35 +0100 Subject: [PATCH] fix snackbar --- lib/widgets/ExpandedNumberInputWidget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/ExpandedNumberInputWidget.dart b/lib/widgets/ExpandedNumberInputWidget.dart index d93c729..a93366f 100644 --- a/lib/widgets/ExpandedNumberInputWidget.dart +++ b/lib/widgets/ExpandedNumberInputWidget.dart @@ -27,7 +27,7 @@ class ExpandedNumberInputWidget extends StatelessWidget { const SnackBar(content: Text('Bitte eine gültige Zahl eingeben')), ); }else{ - ScaffoldMessenger.of(context).hideCurrentSnackBar(); + ScaffoldMessenger.of(context).clearSnackBars(); _setValue(number); } },