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

Why are mixins used for the DI stuff, like NetworkModule? #144

Open
noaonoszko opened this issue Mar 1, 2024 · 0 comments
Open

Why are mixins used for the DI stuff, like NetworkModule? #144

noaonoszko opened this issue Mar 1, 2024 · 0 comments

Comments

@noaonoszko
Copy link

NetworkModule, DataLayerInjection and ServiceLocator are all mixins. Why not classes? That seems to work as well, and the use doesn't seem to align with the typical use of mixins. I'm asking out of curiosity as I'm quite new to flutter.

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

1 participant