Skip to content
pubscout

matrix

17.0.0, released 3 days ago by famedly.com

Matrix (matrix.org) SDK written in Dart.

WASM-readyCopyleft license
$ flutter pub add matrix
Source repository

What it does

Provides a Matrix Dart SDK for integrating Matrix chat, E2EE, and VoIP functionality into Dart and Flutter applications. It handles things like session management, timeline decryption, and synchronization.

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

Use it when

  • You are building a Matrix chat client in Dart or Flutter
  • You need Matrix protocol support with end-to-end encryption

Skip it when

  • You are not using the Matrix protocol for your application
  • You need a simple HTTP client without chat protocol overhead

Strengths

  • Full Matrix SDK written natively in Dart
  • Supports end-to-end encryption via vodozemac

Weaknesses

  • Requires native library setup for E2EE (vodozemac)
  • Niche application domain limited to Matrix

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
22

For E2EE, vodozemac must be provided (e.g. using the flutter_vodozemac package).

flutter pub add matrix

# Optional: For end to end encryption:
flutter pub add flutter_vodozemac

Alternatives

Packages that do the same job and could replace matrix.

  • flagsmith

    Flutter Client SDK for Flagsmith feature flags and remote config.

  • pubnub

    PubNub SDK for Dart and Flutter to build real-time messaging applications

  • ag_ui

    Dart SDK for AG-UI protocol supporting event-based communication and SSE streaming.

  • ably_flutter

    A wrapper around Ably's client library SDKs for real-time messaging on iOS and Android.

Works with

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