fix snackbar
parent
50b337e1cd
commit
9c9b5a394c
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue