Skip to content
pubscout

stream_chat

10.7.0, released 11 days ago by getstream.io

Low‑level Dart client for Stream Chat API

WASM-readyRock solid
$ flutter pub add stream_chat
Source repository

What it does

Provides API access, WebSocket handling, event streams, and offline persistence for chat applications.

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

Use it when

  • You need full control over UI and architecture
  • You want to integrate with your own state‑management solution
  • You need a lightweight client without built‑in widgets

Skip it when

  • You want ready‑made chat widgets
  • You prefer a higher‑level SDK with UI components

Strengths

  • Full control over data flow and UI
  • Supports WebSocket, REST, and offline persistence
  • Active maintenance and frequent updates

Weaknesses

  • No built‑in UI widgets
  • Requires more plumbing for UI integration

Setup

Kind
Pure Dart
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
18

Add dependency, run `dart pub get`, instantiate `StreamChatClient` with API key. For code generation, run `dart run build_runner watch` if using JSON serialization.

final client = StreamChatClient('stream-chat-api-key');

Alternatives

Packages that do the same job and could replace stream_chat.

  • mqtt5_client

    A server and browser based MQTT Version 5 client for Dart supporting TCP and WebSockets.

  • dbus

    Native Dart D-Bus client for Linux and Windows.

  • relic

    Lightweight web server framework inspired by Shelf, with typed APIs and a high‑performance native Zig adapter.

  • mqtt_client

    A Dart MQTT client supporting TCP, WebSocket, secure connections and all QoS levels.

Works with

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