Skip to content
pubscout

at_commons

5.25.0, released 2 weeks ago by atsign.org

Foundational types, protocol verb builders, and utilities for the Atsign Protocol SDK.

WASM-ready
$ flutter pub add at_commons
Source repository

What it does

Provides core types like AtKey representation, metadata configurations, validation for atSigns, exception hierarchies, and wire-format protocol verb builders. It is a pure-Dart utility library used across other atPlatform components.

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

Use it when

  • You need to construct an AtKey by hand in lower-level Atsign code.
  • You are building or parsing Atsign protocol wire-format verbs directly.
  • You need to handle Atsign-specific exception hierarchies.

Skip it when

  • You are writing a standard Flutter application and can use higher-level client packages instead.
  • You do not use the Atsign protocol in your project.

Strengths

  • Pure-Dart implementation with no client-specific dependencies.
  • Provides robust static factory methods for key shapes (self, shared, public, local).

Weaknesses

  • Too low-level for most standard application developers who should use at_client instead.
  • Niche domain-specific utility library.

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
3

Add the dependency to your pubspec.yaml file.

AtKey shared = (AtKey.shared('phone', namespace: 'myapp', sharedBy: '@alice')..sharedWith('@bob')).build();

Alternatives

Packages that do the same job and could replace at_commons.

Works with

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