Flutter - Firebase Cloud Firestore Streaming to a List

preview_player
Показать описание
In this episode I cover streaming data from the Firebase cloud Firestore. I show how the stream updates in realtime.

Configure Firebase is Required:

This episode covers:
- Adding data to the Cloud Firestore
- Retrieving the data in a streamable list

The Firestore Readme:

The source used in this video:
Рекомендации по теме
Комментарии
Автор

Very thorough explanations of the steps to get everything running. Great work

benjaminparfitt
Автор

Thank you so much for this great video. Very simple and straight forward.

saudify
Автор

Probably a dumb question... but how would you access the data if you just needed a "mountain" instead of the listview itself? like if you had to pass a List as a parameter and wanted that same data?

jg_yro
Автор

Very well explained, I like the method where is shown where to get the information. Thanks

ricard
Автор

Thank you for sharing this informative video! Happy New Year to you~

pandarzzz
Автор

Can you please show us how you combined two or more QuerySnapshot streams into one and then use in the StreamBuilder?

remoreacts
Автор

This is great, but how do you do paging with Firestore and the streambuilder?

creativelymedia
Автор

Hey, how do you retrieve data from two collections and build the list items?

apsackapp
Автор

Thank you for the great video!
Do know, how can I get a single item from the Firestone and not the whole collection?

nussknacker
Автор

Hi Mr. Brandon please help me in adding firebase extensions in pubspec.yaml. Im always facing issue with versions

rajremo
Автор

What if I just want to save the data in a list?

MartinMartinez-hjco
Автор

Nice video ... But I have one question ...how can put text input fill to my app by which I can add data to cloud firestore.. And also add photo to firestore..

hitanshugogoi
Автор

Please make one series on making chat application using firebase as backend.

caffekhalisa
Автор

Your channel is amazing but the thumbnails dont give justice to your content and that is why your videos are not getting views. Please improve your thumbnails.

ajinkyatemak
Автор

O meu deu erro aí eu coloquei ( ) em snapshot : ('mountains').snapshots( ) ai funcionou.

Akilesalan
Автор

I have tried to use FutureBuilder, i have issues over here is that first time it return empty set(snapshot.hasError is true) then i return loading widget, next time it return valid set this time new List is not updated anything wrong i may be doing, and unfortunately i was trying this on the day this video was published, is there any live coding session i can attend it it free :)

silentsudo
Автор

does not work, it has an error in the mountainList Class with the stream


class MountainList extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new StreamBuilder(
stream: Firestore.instance.collection('user').snapshots,
builder: (BuildContext context, AsyncSnapshot<QuerySnapshot> snapshot) {
if (!snapshot.hasData) return new Text('Loading...');
return new ListView(
children: {
return new ListTile(
title: new Text(document['title']),
subtitle: new Text(document['type']),
);
}).toList(),
);
},
);
}
}

AndyTask
Автор

Please make a video on flutter fireabse facebook Oauth.

sunitgautam
Автор

Hi Mr Donnelson,
Many thanks fot your tutorials. It's real helpful also for me.

After running my flutter app I received some error related with QuerySnapshot. Please check it & help me how I can solve it. Thks!
---
compiler message: lib/main.dart:59:53: Error: A value of type '() → can't be assigned to a variable of type
compiler message: Try changing the type of the left hand side, or casting the right hand side to
compiler message: stream: Firestore.instance.collection('kids').snapshots,
compiler message: ^
Compiler failed on

FAILURE: Build failed with an exception.
---

rakhimian
visit shbcf.ru