Skip to content

i have private or local package use it in my project how to use getIt with? #211

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

Closed
A7mdFathi opened this issue Jul 6, 2021 · 2 comments

Comments

@A7mdFathi
Copy link

No description provided.

@MohammadEzoo
Copy link

I think get it is singleton itself , so any call to Getit.instance will give the same instance that used in your app .
then you can get any class from it in your package.

@escamoteur
Copy link
Collaborator

Exactly, I made is specifically that way. Unless you access get_it inside another isolate you will get the same instance in all packages.

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

3 participants