Skip to content
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

Question: Menucontroller() error #1

Closed
dabes opened this issue Jul 14, 2021 · 3 comments
Closed

Question: Menucontroller() error #1

dabes opened this issue Jul 14, 2021 · 3 comments

Comments

@dabes
Copy link

dabes commented Jul 14, 2021

I'm trying to follow your guide on skillshare, but i have some error i don't know how to resolve, following your code i was getting a null error so i started to fix it to run without disabling the null-safe mode as you can see on the repo: https://github.com/dabes/starter_flutter . but now i got this error and don't know how to proceed, if you could help me?
image

@Santos-Enoque
Copy link
Owner

Hello Daniel, I will have a look at your repo and get back to you

@dabes
Copy link
Author

dabes commented Jul 15, 2021

Hello Santos, i managed to resolve, on menu_controller.dart on the line 7:

replaced:
static MenuController instance = Get.find();
with:
static MenuController instance = Get.put(MenuController());

Ty for your time.

@Santos-Enoque
Copy link
Owner

Hello mate, sorry for getting back to you late, but I am glad you were able to find the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants