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

Replace SignInModel & ChangeNotifier with ValueNotifier<bool> #5

Merged
merged 4 commits into from
May 16, 2019

Conversation

bizz84
Copy link
Owner

@bizz84 bizz84 commented May 16, 2019

No description provided.

@bizz84 bizz84 changed the title Replace SignInModel with ChangeNotifier with ValueNotifier<bool> Replace SignInModel & ChangeNotifier with ValueNotifier<bool> May 16, 2019
@bizz84 bizz84 merged commit 0042329 into replace-bloc-change-notifier May 16, 2019
bizz84 added a commit that referenced this pull request Jun 8, 2019
* Start converting bloc implementation to changeNotifier

* Replace EmailPasswordSignInBloc with EmailPasswordSignInManager.
Use ChangeNotifier rather than Streams

* Manager no longer holds on to the model

* Update sign in flow to use model with ChangeNotifier

* Rename variable

* Rename bloc -> manager

* Replace SignInModel & ChangeNotifier with ValueNotifier<bool> (#5)

* Replace SignInModel with ChangeNotifier with ValueNotifier<bool>

* Inject ValueNotifier into manager and widget

* Move ValueListenableBuilder outside SignInPage

* Fix tests

* Inject EmailPasswordSignInModel into EmailPasswordSignInManager and EmailPasswordSignInPage

* Cleanup

* Add dispose method

* Use model getter rather than widget.model

* Merge EmailPasswordSignInManager into EmailPasswordSignInModel

* Simplify SignInPageBuilder implementation

* Update README
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

Successfully merging this pull request may close these issues.

None yet

1 participant