matrix
17.0.0, released 3 days ago by famedly.com
Matrix (matrix.org) SDK written in Dart.
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_vodozemacAlternatives
Packages that do the same job and could replace matrix.
- flagsmith
Flutter Client SDK for Flagsmith feature flags and remote config.
85Compare - pubnub
PubNub SDK for Dart and Flutter to build real-time messaging applications
84Compare - ag_ui
Dart SDK for AG-UI protocol supporting event-based communication and SSE streaming.
76Compare - ably_flutter
A wrapper around Ably's client library SDKs for real-time messaging on iOS and Android.
75Compare
Works with
Packages commonly used together with matrix: ones it builds on, ones built on it, and its own family.
- mimematrix depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- webmatrix depends on itLightweight bindings for browser APIs via JS interop
- asyncmatrix depends on itUtility classes and helpers that extend Dart's async library.
- htmlmatrix depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- typed_datamatrix depends on itUtility functions and classes for easier work with dart:typed_data lists.
- imagematrix depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- sqflite_commonmatrix depends on itDart wrapper on SQLite providing the common API for sqflite and desktop FFI implementations.
- sqlite3matrix depends on itLightweight and convenient SQLite bindings for Dart using dart:ffi