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.
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.
- flutter_chat_ui
A customizable, cross‑platform chat UI widget set for Flutter.
90Compare - zendesk_messaging
Flutter plugin for Zendesk Messaging SDK, enabling in-app chat with JWT auth.
78Compare - flow_ui
Flutter UI library for building chat and AI assistant interfaces
67Compare - cupertino_onboarding
Provides an iOS-style onboarding experience with Flutter widgets.
50Compare
Works with
Packages commonly used together with stream_chat_flutter: ones it builds on, ones built on it, and its own family.
- clockstream_chat_flutter depends on itA fakeable wrapper for dart:core clock APIs.
- intlstream_chat_flutter depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- http_parserstream_chat_flutter depends on itA platform-independent package for parsing and serializing HTTP formats.
- path_providerstream_chat_flutter depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- url_launcherstream_chat_flutter depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- equatablestream_chat_flutter depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- flutter_svgstream_chat_flutter depends on itRenders Scalable Vector Graphics (SVG 1.1) and precompiled vector graphics in Flutter.
- rxdartstream_chat_flutter depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.