-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
ChangeNotifierProvider example #51
Comments
All providers are reactive. Improving the documentation and making great examples is definitely needed. But note that, as opposed to
|
"This is perfect for exposing a complex object that never changes over time without writing a StatefulWidget" |
That's for the default constructor. The mean to achieve the update is different though. Instead of a |
Ahhh ... thanks, got it now! |
Is the example code show by @brianegan in "Merge provider and scoped_model"
brianegan/scoped_model#61 the "correct" way to use this provider?
Simple examples of the existing providers would help a lot for users of "scoped_model". Your only example of the 'simple' provider seems to me to be the least useful as it isn't 'reactive' (if I'm reading the docs correctly)
thanks for all your work!
The text was updated successfully, but these errors were encountered: