Replies: 3 comments
-
| I also have similar problems and don't know how to solve them. I encountered similar issues when using GetX, and it's really frustrating. | 
Beta Was this translation helpful? Give feedback.
-
| modals are asynchronous in nature. You need to handle the state within modal separately and then return a value using  context.pop(returned_value). make a HookWidget out of this for local state management within the modal:  | 
Beta Was this translation helpful? Give feedback.
-
| Thank you. I've already solved this problem. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My hook under the build method of main page
Main Page shows a button to show modalsheet
Method to show modal sheet
On pressing the Load button, the value of isLoading does get changed but it is not reflecting the change to change Close button to wait button.
Beta Was this translation helpful? Give feedback.
All reactions