fetch data from firestore

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ส.ค. 2022
  • Fetch data from Firebase Cloud Firestore, and display it on a list on a Flutter app
    Source code :
    github.com/gitanjal/flutterfi...
    How to add Firebase to a Flutter project? :
    • How to Add Firebase to...
    Add Google-login in a Flutter app using Firebase Auth:
    • Add Google-login to a ...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 20

  • @kulithnajika2565
    @kulithnajika2565 ปีที่แล้ว

    great tutorial mate thak you

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว

      Glad you enjoyed it. Stay connected.

  • @undopasi3648
    @undopasi3648 ปีที่แล้ว

    Thank you man!

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว

      Welcome buddy, Stay Connected.

  • @Perfumescatalog
    @Perfumescatalog ปีที่แล้ว

    thanks alot

  • @afrikanking4022
    @afrikanking4022 ปีที่แล้ว

    Can we chain multiple where clause to firebase using isEqual

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว

      Yes you can. Please check the link below-
      firebase.google.com/docs/firestore/query-data/queries#compound_queries

  • @mkwriterchannel1375
    @mkwriterchannel1375 ปีที่แล้ว

    Sir i have collection and subcollection on my cloud firestore firebase then how i write code for that

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว +1

      Take a look at this video : th-cam.com/video/P5CvA3bvBeU/w-d-xo.html
      And let me know if this solves your problem. Thanks for commenting, stay connected.

  • @junaidiqbal7942
    @junaidiqbal7942 ปีที่แล้ว +1

    can you mke a video o collection with sub collection data firestore flutter????

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว +1

      Sure, I will make.

    • @junaidiqbal7942
      @junaidiqbal7942 ปีที่แล้ว +1

      @@droidmonk4820 thanks

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว

      Extremely sorry the delay bro, I hope you are not waiting.
      Still this video is for you-
      th-cam.com/video/P5CvA3bvBeU/w-d-xo.html

  • @mm-sf6qx
    @mm-sf6qx 2 ปีที่แล้ว

    how to add image in ListTile ?

    • @droidmonk4820
      @droidmonk4820  2 ปีที่แล้ว +1

      Simply pass the Image widget to the property leading....
      ListTile(
      leading: Image.network(url),
      title: Text('One-line with both widgets'),
      trailing: Icon(Icons.more_vert),
      ),
      You may like to watch this video to more about ListTile
      th-cam.com/video/zv8OdSMXRUU/w-d-xo.html

    • @mm-sf6qx
      @mm-sf6qx 2 ปีที่แล้ว

      @@droidmonk4820
      ok thanks
      but
      if i want user add image in every list tile and save in firebase? what should i do?

    • @droidmonk4820
      @droidmonk4820  2 ปีที่แล้ว

      You have to keep the image urls in a field in the documents of your collection and use those in the Image widgets.
      Now to get the image urls -
      step 1: You can use the package image_picker to pick an image from device/capture using camera
      step 2: You have to store the images/files in "Firebase Storage" ( not cloud firestore) and
      step 3: get their urls
      step 4: store the urls in the corresponding documents of the cloud_firestore document
      I shall create a video on this soon , so stay connected.
      For now you may take a look at the link below --
      firebase.google.com/docs/storage/flutter/upload-files

    • @mm-sf6qx
      @mm-sf6qx 2 ปีที่แล้ว +2

      @@droidmonk4820
      Very thanks
      You're awsome
      Keep going
      And I'm waiting the video
      Thanks again

    • @droidmonk4820
      @droidmonk4820  ปีที่แล้ว +1

      Hi, I hope you have already got your job done.
      But here is the video on - "How to upload images to Firebase and display them on the UI"
      th-cam.com/video/u52TWx41oU4/w-d-xo.html&lc=UgxKV5LuvimyF4Oih414AaABAg