Skip to content
pubscout

stream_chat_flutter

10.7.0, released 10 days ago by getstream.io

Full-featured Flutter UI SDK for Stream Chat, providing ready‑made chat widgets and theming.

Rock solid
$ flutter pub add stream_chat_flutter
Source repository

What it does

It offers a collection of customizable Flutter widgets for building chat experiences, handling messages, media, reactions, threads, and more. The SDK integrates with Stream's backend services and includes offline storage, push notifications, and localization support.

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

Use it when

  • You need a ready-made chat UI with rich media, reactions, threads, and typing indicators
  • You want tight integration with Stream's chat backend and prefer a declarative widget‑based approach

Skip it when

  • You require a completely custom chat UI from scratch
  • You are not using Stream as the backend service

Strengths

  • Comprehensive set of chat widgets
  • Built‑in theming and customization via ThemeExtension
  • Supports all major platforms (mobile, web, desktop)
  • Handles media uploads, offline storage, and push notifications

Weaknesses

  • Relies on Stream backend, limiting backend flexibility
  • Requires multiple native permissions and platform setup
  • Package size can be large due to many dependencies

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
38

Add Android photo_manager permissions, iOS file_picker and image_picker setup, video_player configuration, and macOS network client entitlement; follow each plugin's installation guide.

import 'package:flutter/material.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';

void main() async {
  final client = StreamChatClient('YOUR_API_KEY');
  await client.connectUser(User(id: 'user-id'), 'USER_TOKEN');
  runApp(MaterialApp(
    theme: ThemeData(extensions: [StreamTheme.light()]),
    home: StreamChat(client: client, child: const MyHomePage()),
  ));
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(title: const Text('Chat')),
        body: const StreamChannelListView(),
      );
}

Alternatives

Packages that do the same job and could replace stream_chat_flutter.

Works with

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