New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get.snackbar() doesn't work successfully when starting the app for the first time. #3055
Comments
I had the same problem when calling snackbar from the main() function, but moving the snackbar call to onInit of a GetXController class that gets created during application startup did the trick and now works perfectly on startup. |
Well, let me explain what's going on: At the time you called the snackbar, the widget tree Overlay was not ready yet. But I'm here to give you the solution:
Hope this helps. |
Thanks @jonataslaw for this precise feedback. Already implemented this with suggestions 1 & 3. Works perfectly! |
Description
Solution(not good)
The text was updated successfully, but these errors were encountered: