Closed saminBee closed 1 year ago
How did you solve it?
Use the Contact service package in Flutter Contact contactData;
Then fetched the number like this:
Text(contactData.phones.first.number)
Previously I was using contactData.phones.first, thought the first number will be provided, but saw in the documentation that the first has another parameter .number
I have 4 contacts on my test phone. All the name are fetched but not their contact number.