bizz84 / bizz84/firebase_user_avatar_flutter

streamBuilder vs Consumer / changeNotifier

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
152
Forks
59
PR merge metrics
No merged PRs in 30d

Description

For managing `authState`, why do you use a `streamBuilder`? Is not not suitable to use a `Consumer()`?

I just thought that that if you are using Provider, there is no need to have `streamBuilder` as the parent widget. Am I missing something? Can the `authState` widget be made **without** `streamBuilder`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.