登录 注册

stream-chat-flutter

去点 Star
开发者工具自动化与工作流教育与学习 chatchat-sdkdartdart-packagedartlangflutter
1,054
Stars
389
Forks
27
Watchers
28
Open Issues
NOASSERTION
许可证
Dart
语言
2020-02-20
创建时间
2026-11-11
最近更新

项目能做什么

Flutter 聊天 SDK,基于 Dart 和 Stream Chat API 构建完整的即时通讯体验。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Official Flutter packages for [Stream Chat](https://getstream.io/chat/sdk/flutter/)

![Stream Chat Flutter SDK hero image](https://raw.githubusercontent.com/GetStream/stream-chat-flutter/master/images/sdk_hero_v10.png)

[![CI](https://github.com/GetStream/stream-chat-flutter/actions/workflows/stream_flutter_workflow.yml/badge.svg?branch=master)](https://github.com/GetStream/stream-chat-flutter/actions/workflows/stream_flutter_workflow.yml)
[![Melos](https://img.shields.io/badge/maintained%20with-melos-f700ff.svg?style=flat-square)](https://github.com/invertase/melos)

V10 brings a modern redesign, a unified design system shared across all Stream SDK platforms, and improved developer experience.

**Quick Links**

- [Register](https://getstream.io/chat/trial/) to get an API key for Stream Chat
- [Flutter Chat SDK Tutorial](https://getstream.io/chat/flutter/tutorial/)
- [Documentation](https://getstream.io/chat/docs/sdk/flutter/)
- [Sample app](sample_app)

## What's New in V10

Version 10 is a major update to the Stream Chat Flutter SDK:

- **Modern redesign** — refreshed channel list, message list, composer, reactions, avatars, and media viewer with a cleaner, more polished default look.
- **Unified design system** — design tokens (colors, typography, spacing, icons) are now consistent across all Stream SDK platforms. Theming is rebuilt around `StreamTheme`, a Flutter `ThemeExtension` registered on `MaterialApp.theme`.
- **Cross-platform name alignment** — APIs and component names now match their iOS, Android, React, and React Native counterparts (e.g. `StreamMessageComposer`, `StreamChannelListItem`).
- **`StreamComponentFactory`** — a single customization entry point that replaces the scattered builder slots that previously lived on each widget.
- **Cookbook** — new task-oriented recipes for common customizations.

See the [V10 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration-guide-10-0/) for a full list of breaking changes and upgrade instructions.

## Features

The UI package ships an extensive set of performant and customizable widgets:

- Rich media messages with Markdown rendering
- Reactions
- Threads and quoted replies
- Typing and read indicators
- Channel and message lists
- Message composer with autocomplete triggers (`@` mentions, `/` commands)
- Image, video, and file uploads with previews and a built-in media gallery viewer
- Voice messages
- Polls
- Drafts
- Pinned messages
- Message reminders
- Message actions context menu (reply, edit, copy, pin, delete, flag, mute, block, and more)
- Message search
- Giphy support
- AI assistant streaming responses
- Push notifications (Firebase, APN, and Huawei)
- Offline storage and optimistic updates
- Static and live location sharing
- Localization
- and a lot more.

## Sample App

Check out the [`sample_app`](sample_app) in this repository — a fully functional messenger built with `stream_chat_flutter` that demonstrates the SDK's core features end to end. It is
阅读完整原文

商业机会分析 AI 生成

垂直场景 Flutter 聊天应用商业模板(White-label UI Kit)

产品构想基于 stream-chat-flutter V10 开发针对细分场景(如:电商买家-卖家沟通、类 Discord 社区群聊、一对一音视频+文本问诊/咨询)的现成完整应用模板,提供现成的业务层路由、权限控制和后端鉴权脚手架。
核心功能高保真业务UI套件(订单卡片/问诊表单与消息联动)、完整的用户认证与Token生成后端Demo、离线消息推送一键配置脚本、深浅色模式与主题适配。
目标用户购买模板快速交付项目的外包接包团队、开发垂类社交产品的独立出海开发者。
难度/周期中等 · 3-5 周 · 成本:开发设备 + Stream 开发者账号(免费额度内)+ 演示用域名与轻量服务器(<$50/月)
收费模式在 CodeCanyon、Gumroad 或 FlutterMarket 以数字资产形式买断销售($49 - $149/份),提供带支持的企业授权版($299+)。
竞争风险官方持续维护示例代码,需在业务逻辑深度和垂直交互设计上形成明显代差;需处理客户不同后端语言的 Token 对接技术支持。
依据 已验证事实

Stream Chat + LLM 流式对话快速集成套件(AI 聊天伴侣/客服)

产品构想针对 V10 提供的 'AI assistant streaming responses' 特性,封装一个连接 Stream Chat 与主流大模型(OpenAI/Claude/DeepSeek)的开箱即用云函数/后端网关及 Flutter 前端交互扩展组件。
核心功能打字机效果增强组件、预设富媒体动作(如推荐卡片、快捷引导按钮)、敏感词过滤与上下文记忆网关、支持一键部署到 Supabase/Firebase Functions。
目标用户希望为现有 Flutter App 增加 AI 客服或 AI 陪伴功能的移动开发者。
难度/周期较高 · 4-6 周 · 成本:大模型 API 调用测试费用 + 云函数测试环境(<$100)
收费模式开源前端组件 + 闭源/托管后端代理中间件;或以定制 SaaS / 一次性源码包方式收费($99 - $199)。
竞争风险大模型厂商及 Stream 官方可能在后续更新中原生完善该端到端方案导致溢价空间被压缩。
依据 AI推测

全平台离线推送与 Stream 升级咨询/交付服务

产品构想针对国内出海应用多渠道推送(APN、FCM、华为/小米推送)集成难度大、以及旧版 Stream SDK 升级至 V10 架构大改的痛点,提供专业的技术集成服务与企业技术咨询。
核心功能推送渠道全流程打通与排错保障、V10 破坏性更新迁移支持、消息加载性能与离线缓存调优。
目标用户缺少移动原生与推送运维经验的 Flutter 团队、技术负责人。
难度/周期中等 · 1-2 周(按单次咨询/交付计) · 成本:主要是个人工时投入 + 多品牌测试机设备成本
收费模式按次交付(如每个项目 $500 - $2000 解决多端推送及迁移联调),或按工时收取顾问费。
竞争风险服务型业务难以规模化,客户需求碎片化,受限于客户应用本身的后端架构复杂度。
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
f/prompts.chat 中文介绍暂未生成
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect
176,918 MDX
ChatGPTNextWeb/NextChat 中文介绍暂未生成
✨ Zero-config AI chat assistant. No API key needed — sign up
88,946 TypeScript
lobehub/lobehub 中文介绍暂未生成
🤯 LobeHub - Super-Agents on Your Team. Add super-agents to t
85,016 TypeScript
lencx/ChatGPT 中文介绍暂未生成
❄️ ChatGPT Desktop Application (Mac, Windows and Linux)
54,672 Rust
moeru-ai/airi 中文介绍暂未生成
💖🧸 Self hosted, you-owned Grok Companion, a container of sou
51,297 TypeScript
LibreChat-AI/LibreChat 中文介绍暂未生成
Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSe
46,999 TypeScript
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2020-02-20,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 1,054 / Fork 389 / Issue 28(数据支持,可自行核实)
许可证NOASSERTION
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/GetStream/stream-chat-flutter.git
cd stream-chat-flutter
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。