fix snackbar

main
Julian Gegner 2022-11-08 22:12:35 +01:00
parent 50b337e1cd
commit 9c9b5a394c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
},