Flutter - Read Contact List | Fetch Contacts using Flutter [2022]

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

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

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

    In this tutorial, I have used fast_contacts package. It is much faster than contacts_service and flutter_contact packages for reading the device's contact book.
    pub.dev/packages/fast_contacts
    Please Like, Share, Subscribe & Click on the Bell button for more video like this
    Thanks for watching the video 🙂

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

    Best tutorial bro...

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

    God bless you brother

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

    great tutorial! i was wondering if there's a change in the contacts (like adding a new contact for example), the change will not be reflected on the screen instantly since its a futurebuilder not a streambuilder. is there a way to reflect those changes with streambuilder?

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

      Bro, did you find any solution? I want to achieve the same thing

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

      Yes , the change is reflected

  • @Zalkar-j6t
    @Zalkar-j6t 8 หลายเดือนก่อน

    It doesn't work on ios devices, has anyone encountered and how did you solve this problem?

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

    Bro please make vedio on how to create a chat app like what's app in flutter for android and iOS devices

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

    in my case this permission handler never works

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

    thank you

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

    Android studio?

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

    error Type 'Uint8List' not found.

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

    my contact list is not display

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

      have you provided permission? You need to provide contact permission to get contacts. All these things are covered in this video.
      are you getting any exception?

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

    tnxxxxxxxxxxxx

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

    Dislike 👎
    Where translation

  • @ӘлинұрБарлыбеков
    @ӘлинұрБарлыбеков 2 ปีที่แล้ว

    snapshot.data.length is not working

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

      what is that exact error/issue you are facing?

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

      I agree. The code crashes with a Range Error Index Invalid which indicates that the page is trying to render before the contacts have been fetched. I think the whole thing should be async so you can use an await on the getContacts() function. Although waiting for an index should work, it simply does not.

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

    Exception has occurred.
    RangeError (RangeError (index): Invalid value: Valid value range is empty: 0)
    bro the error show on code
    Text(contact.phones[0]),
    Text(contact.emails[0]),

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

      can you fix ?

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

      do that Text(contact.phones.isNotEmpty ? contact.phones[0].number : ' ' ),
      Text(contact.emails.isNotEmpty ? contact.emails[0].address : ' ')