iamshaunjp / iamshaunjp/flutter-firebase

Snapshot has no data, Loading widget is shown forever

Open
#3 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
586
Forks
427
PR merge metrics
No merged PRs in 30d

Description

I followed the tutorials thoroughly, but loading widget is shown infinitely. I printed a message in output before if statement and it shows that snapshot has no data and so it goes to else statement and shows loading widget infinitely.

**your code**
https://github.com/iamshaunjp/flutter-firebase/blob/bf1a90852aacd2b9c35c700c154169fc55472655/brew_crew/lib/screens/home/settings_form.dart#L32

**my code**
https://github.com/om8007/brew_crew/blob/2178e591785a00e12cf172a8d55cd8e49c503773/lib/screens/home/settings_form.dart#L28

**output**
![Screenshot (156)](https://user-images.githubusercontent.com/32073787/71712683-4cca8180-2e2c-11ea-9c05-864b7db8971b.png)

This issue has been faced with some more coders as can be [seen in comments for video 25](https://www.youtube.com/watch?v=PT3v28eyOqg&list=PL4cUxeGkcC9j--TKIdkb3ISfRbJeJYQwC&index=26&t=0s)

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.