add_contact_ios

Creator: coderz1093

Last updated:

0 purchases

add_contact_ios Image
add_contact_ios Images
Add to Cart

Description:

add contact ios

Add Contact Plugin #
Overview #
Add Contact Plugin is a plugin to open "New
Contact" popup native ios so user can add the
contact to device




Usage #
1. Mock the Contact model #
final mockContact = Contact(
displayName: "BI DEP TRAI",
givenName: "HOANG DUC",
middleName: "HUU",
prefix: "Mr.",
suffix: "Jr.",
familyName: "BEE",
company: "Carrots Labs🥕",
jobTitle: "Flutter Engineer",
emails: [
Item(label: "work", value: "[email protected]"),
Item(label: "personal", value: "[email protected]"),
],
phones: [
Item(label: "mobile", value: "+1 (555) 123-4567"),
Item(label: "work", value: "+1 (555) 987-6543"),
],
postalAddresses: [
PostalAddress(
label: "home",
street: "80 Quoc Lo 13",
city: "Ho CHi Minh",
postcode: "12345",
region: "VN",
country: "VN",
),
PostalAddress(
label: "Daklak-Home",
street: "56 Xuan Phu - Phu Xuan",
city: "Krong Nang",
postcode: "12345",
region: "VN",
country: "VN",
),
],
socialProfiles: [
SocialProfile(
label: "twitter",
urlString: "https://twitter.com/hoangduchuuvn",
username: "hoangduchuuvn",
service: "twitter",
),
SocialProfile(
label: "facebook",
urlString: "https://facebook.com/hoangduchuuvn",
username: "hoangduchuuvn",
service: "facebook",
),
],
avatar: Uint8List.fromList([0, 1, 2, 3, 4, 5]),
birthday: DateTime(1994, 1, 1),
androidAccountType: AndroidAccountType.google,
androidAccountTypeRaw: "com.google",
androidAccountName: "[email protected]",
);
copied to clipboard
2. Open the ios dialog #
2a. Add the Contact
AddContactIos().addContact(contact: contact)
copied to clipboard
2b. Add open vCard
AddContactIos().openVCard(contact: contact)
copied to clipboard
Showcases #

Installation #
View on Pub.dev
dependencies:
add_contact_ios: ^X.Y.Z // lasted version
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.