Snackbars cleared when opened flexiblebottomsheet

This commit is contained in:
Juan Gilsanz Polo 2022-10-20 01:08:39 +02:00
parent 334b24e56e
commit 276e310ae5
7 changed files with 7 additions and 0 deletions

View file

@ -141,6 +141,7 @@ class _AddedListState extends State<AddedList> {
}
void openClientModal(Client client) {
ScaffoldMessenger.of(context).clearSnackBars();
showFlexibleBottomSheet(
minHeight: 0.6,
initHeight: 0.6,

View file

@ -61,6 +61,7 @@ class ClientsFab extends StatelessWidget {
}
void openAddClient() {
ScaffoldMessenger.of(context).clearSnackBars();
showFlexibleBottomSheet(
minHeight: 0.6,
initHeight: 0.6,