Monday, March 2, 2020

How to save contact number in flutter

with
contacts_service: 0.3.10
Future <void> contactSave(){

    Contact contact = Contact();
    contact.givenName = 'shirsh';
    contact.displayName = 'shirsh shukla';
    contact.phones = [Item(label: "mobile", value: '9999999999')];
    contact.company = "Demo";
    ContactsService.addContact(contact);

    }

1 comment:

  1. Thanks for sharing, Its relatively easy to turn an existing deck into a three-season room and the project can often be completed in a few days. 3 Season Room with Fireplace.

    www.decorationnew.my.id
    www.decorationnew.my.id
    www.decorationnew.my.id
    www.decorationnew.my.id
    www.decorationnew.my.id
    www.decorationnew.my.id

    ReplyDelete

How to save contact number in flutter

with contacts_service: 0.3.10 https://pub.dev/packages/contacts_service Future < void > contactSave (){ Contact contac...