搜尋套件、儲存庫與 APP 分類

套件詳情v10.6.0

stream_chat_flutter_core

Stream Chat 官方 Flutter SDK 核心。使用 Dart 和 Flutter 建構您自己的聊天體驗。

AndroidiOSLinuxmacOSWebWindows
近 30 天下載
17.7萬
喜歡數
59
Pub 分數
140

安裝套件

flutter pub add stream_chat_flutter_core

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Stream Chat Flutter Core 是用於在 Flutter 應用中建立自訂聊天體驗的官方 SDK。它為跨 Android、iOS、Linux、macOS、Web 和 Windows 的即時訊息傳遞提供穩健的基礎。開發者可利用其強大的 API 實現訊息傳送、使用者狀態、輸入指示器等功能,同時保有對 UI 的完整控制權。該 SDK 可與 Stream 的後端服務無縫整合,實現可擴展且安全的通訊。非常適合需要豐富互動式聊天功能的應用。

適用情境

  • 即時通訊應用
  • 自定義聊天介面
  • 多平台聊天解決方案
  • 團隊協作工具
  • 客戶支援系統

主要特色

  • 即時訊息同步
  • 跨平台相容性
  • 可擴展的 UI 組件
  • 用戶在線狀態與輸入指示器
  • 安全的身分驗證整合

適合對象

  • 開發自定義聊天介面的開發者
  • 需要多平台聊天的團隊
  • 需要可擴展訊息傳遞的應用程式
  • 使用 Stream 後端的 Flutter 開發人員

使用建議

  • 需要設定 Stream 後端
  • 身分驗證的額外設定
  • 進階功能的學習曲線
  • 依賴於 Stream API 的穩定性

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Official Flutter packages for Stream Chat

Stream Chat Flutter SDK hero image

CI Melos

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

Quick Links

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 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 in this repository — a fully functional messenger built with stream_chat_flutter that demonstrates the SDK's core features end to end. It is the recommended reference when wiring things up in your own app.

For more sample apps and demos, visit GetStream/flutter-samples.

Free for Makers

Stream is free for most side and hobby projects. To qualify, your project/company needs to have fewer than five team members and under $10,000 in monthly revenue. For complete pricing details, visit our Chat Pricing Page.

Packages

Stream Chat Dart is a monorepo built using Melos. Individual packages can be found in the packages directory; configuration and top-level commands live in melos.yaml.

The SDK is layered — each package builds on top of the previous:

stream_chat

The low-level client (LLC), a pure Dart package that wraps the Stream Chat API. Use it directly if you want to build your own UI and state layer.

stream_chat_flutter_core

Provides the business logic, controllers, and builders required to integrate Stream Chat into a Flutter app, without shipping any UI of its own.

stream_chat_flutter

The full UI SDK. Includes a set of reusable and customizable UI widgets on top of the core and low-level client packages. This is the recommended starting point for most apps.

stream_chat_persistence

Provides a Drift-backed persistence client for offline storage. Plugs into any of the packages above.

stream_chat_localizations

Provides a set of localizations for the UI SDK.

Choosing the Right Package

We recommend using stream_chat_flutter for most apps. Unless your UI is completely different from the common industry standard, you should be able to customize the built-in widgets to match your needs.

  • Use stream_chat_flutter_core if you need full UI control but want the data/state logic handled for you.
  • Use stream_chat directly for maximum control over architecture, UI, and data.

You can also mix and match — it is common to use the UI SDK for most screens and drop down to the low-level client for specific operations.

Getting Started

To get started, run bootstrap after cloning the project:

melos bootstrap

The best place to start is the Flutter Chat Tutorial. It teaches you how to use this SDK and shows how to make frequently required changes.

Every package folder also includes a fully functional example with setup instructions.

Versioning Policy

All of the Stream Chat packages follow semantic versioning:

  • Bug fixes and behavior improvements cause a patch version bump.
  • New features are shipped with an increased minor version.
  • Incompatible API changes cause a major version increase.

Occasionally, the SDK can include visual changes (whitespace, color, sizing) in minor versions as we continuously improve the default look of our UI widgets.

See the installation docs and the releases page for the full version history.

We Are Hiring

We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.

Check out our current openings and apply via Stream's website.

所屬分類

依賴

依賴清單 9 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單