Skip to content
pubscout

at_contact

4.0.0, released 2 weeks ago by atsign.org

Dart library for persisting and managing contacts on the atPlatform.

WASM-ready
$ flutter pub add at_contact
Source repository

What it does

Provides CRUD operations for contacts stored in a decentralized personal data store. It uses at_client for communication and ensures end‑to‑end encryption.

AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to store contacts without a traditional backend
  • You want encrypted, user‑controlled data storage
  • You are already using at_client in your app

Skip it when

  • You need a cloud‑based contact sync like Firebase
  • You require advanced UI widgets for contacts

Strengths

  • Zero‑config backend, fully encrypted
  • Easy integration with at_client
  • Supports multiple platforms

Weaknesses

  • No UI components
  • Limited to atPlatform ecosystem

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4

Add dependency, run dart pub add at_contact, instantiate AtContactsImpl with AtClientManager

```dart
import 'package:at_contact/at_contact.dart';

final atClient = AtClientManager.getInstance().atClient;
final contacts = AtContactsImpl(atClient, atClient.getCurrentAtSign());

final contact = AtContact()
  ..atSign = '@example'
  ..createdOn = DateTime.now()
  ..type = ContactType.Individual;
await contacts.add(contact);
```

Works with

Packages commonly used together with at_contact: ones it builds on, ones built on it, and its own family.