Using Cloud Firestore as a Realtime Datastore for CRUD with Dart's Flutter Framework

preview_player
Показать описание
In this tutorial, we look at some of the new features from the recent beta 3 release of Flutter.

Feel free to donate:
ETH: 0x03247265dd5242605bD2FA3c40fb3b70d9e3D685
Рекомендации по теме
Комментарии
Автор

Thanks! I've been stuck with this forever.

CSSuccessGamer
Автор

Thank you so much Tensor for these great tutorials.. very exciting

TareqAlmadhoun
Автор

your explanation is very simple and great, going on man :)

the_talent
Автор

Yep, I can agree, high quality work! :) thank you a lot!

nesakysiunieko
Автор

G'day Tensor.Request your input for a similar use case with Firestore. Considering in this example, if flutter_data collection had 1000+ documents and streaming all at once may not be the right option using stream builder. Yet if we need to have a realtime view of the items and lazily load as the user scrolls down(like an infinite list).What would be the best combination of widgets to achieve this?
My thought was initially to use Futurebuilder to fetch futures before hand and use listview for the overall list and use streambuilder(to build each list item) to show the data realtime. But I am making two reads for one item in this case and doubtful f this is even an optimal approach. What is your suggestion.
Sorry about the long question. Many thanks :D

raghav
Автор

Excellent work..! Can you please tell me how to pass a document onto a new screen (detail screen) when a tile is clicked?

annaktaknev
Автор

Hi - very good video. On unrelated note -I've noticed you praised the Google's I/O 2018 video --" .. Reactive app with Flutter.." - Considering that the original presentation was short and brief -If you can further elaborate strategy that was shown at their repo -at git "shared"- directory.

branko
Автор

any one reading my comment, this video is awesome watch it and learn firestore flutter integration.. recommended

hussain
Автор

Thanks a lot for the video :D
Could you cover how to implement a search bar to search through a ListView ?

gaetans.
Автор

Another great video. I'd love one that combined this with the BLoC pattern as I'd like to be able to extract the business logic from the UI rendering, but every example of firestore I've seen just does all the logic within the rendering. As firestore data is already a stream I'm not really sure how to do this.

AndrewMooreReactle
Автор

Great explanation. Thanks! How could I add a submit button to each TextFormField?

adriannunez
Автор

Hi there i want only to post data to cloud Firestore and i did it with the runTransaction Method and i
added a Reference for my Collection and then added my form Data to the Collection using the add
Method but when i tried to run it, then no Document was added in the Database. So do i have to add a StreamBuilder
because i just want to post Data? Or What is the Solution?

naderkhaled
Автор

I want to know if we could use firebase or firestore in the same way we use sqflite with flutter and by this I mean if it is possible to create tables and add rows of data and update and delete data in the same way we deal with sqflite.. Thanks

TareqAlmadhoun
Автор

thanks for the great videos, can you make a video shiw us how to make flutter gridview with firebase, cause all the tutorials in youtube they use firebaseanimatedlist but none explaining gridview.

faisalalali
Автор

I am trying to write the objects of my application in Firerestore with flutter, and I find myself without solutions when I write the data, it only allows me the type of Map file, when I want to upload my own objects.

Have you already been practicing this?
Will they have an example?

I do not want to work with the map

regards

scalybur
Автор

Hi Tensor can u pls use Rust+Dart combo on ur next video. Waiting eagerly for that. 😎✌️ Or add some advanced Rust concepts. Thanks

balajisofficialutube
Автор

I was wondering if you could make a video,
that when a user is registered with google-sign-in,
They also was added to a users collection in firestore and then populate it with the values like the uId,
then i could use the currentUser.uid is equal to user.uid then go to a user profile page and populate it.
Sorry its hard for me to explain what i am wanting to learn.
Going make a family private app for fire emblem heroes where we can share our hero builds and other game stuff.

ndragonxkarnovx
Автор

Hi all please tell me which package contains tomap() and frommap() methods if possible give me link thanks.

gowthamrajukongara
Автор

Hey Tensor..was directed here from @flttry and I see why. U've got a great collection. Just a quick question. Are the videos(flutter/dart playlist) in any order since they aren't numbered and do you treat animations?

AceixSmart
Автор

I am creating an app with multiple pages and I need to draw information from firestore on one of the pages. I wrote the same code for the futurebuilder part. As a test, i let it return the CircularProgressIndicator when it is null, and then print some data from the document snapshot otherwise. Unfortunately my code does not work when I switch to this page -- gives me a red screen with NoSuchMethodError: The method '[]' was called on null. However, if I stay in the page and hot reload, the code works. Any ideas why? I have tried cleaning with flutter doctor already.

deviloflove