at_contacts_flutter 2.0.3 copy "at_contacts_flutter: ^2.0.3" to clipboard
at_contacts_flutter: ^2.0.3 copied to clipboard

PlatformAndroidiOS
outdated

A Flutter plugin project to provide ease of managing contacts for an @‎sign using @p‎latform.

Now for some internet optimism. #

at_contacts_flutter #

A flutter plugin project for CRUD operations on contacts.

Getting Started #

This plugin provides two screens:

Contacts

This lists the contacts. From this screen a new contact can be added. Also, an existing contact can be blocked or deleted.

Blocked Contacts

This screen lists the blocked contacts. It also gives the option to unblock a contact in it.

Sample usage #

It is expected that the app will first create an AtClientService instance and authenticate an atsign.

The contacts service needs to be initialised with the atClient from the AtClientService, current atsign and the root server.

initializeContactsService(
        clientSdkService.atClientServiceInstance.atClient, currentAtSign,
        rootDomain: MixedConstants.ROOT_DOMAIN);

Navigating to the contacts or blocked contacts is done simply by using:

Navigator.of(context).push(MaterialPageRoute(
        builder: (BuildContext context) => ContactsScreen(),
    ));

or

Navigator.of(context).push(MaterialPageRoute(
    builder: (BuildContext context) => BlockedScreen(),
));
302
likes
120
pub points
70%
popularity

Publisher

verified publisheratsign.org

A Flutter plugin project to provide ease of managing contacts for an @‎sign using @p‎latform.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

at_client_mobile, at_common_flutter, at_commons, at_contact, at_lookup, flutter, flutter_slidable, pedantic

More

Packages that depend on at_contacts_flutter