Hello everyone,
Today, I had a problem that took a lot of time and energy to solve. But in the end, I realized that the issue was actually very simple (sorry for my wording).
I inserted a bottom sheet on a button to open a text field for writing. After writing, I wanted to dismiss the sheet. I set it up as shown in the picture: it should create a document first and then dismiss the component.
However, the component never closed. When I changed the order so that the sheet was dismissed first and then the document was created, it worked.
Is this a bug, a FlutterFlow issue, or something I did wrong?