StateNotifierProvider has a constructor, but Notifier does not. ViewModel impl for Clean Architecture #3553
Unanswered
AndreyKropotov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's important because I use SNP as ViewModel and want to pass different dependencies outside the class.
Call UseCases direct from ref inside Notifier doesen't look clean, because to know what dependencies the class has you need to read whole file.
Any thoughts on this one?
Beta Was this translation helpful? Give feedback.
All reactions