Orientação gerada a partir de informações públicas. Apenas para referência.
Stream Chat é o cliente oficial em Dart para o Stream Chat, permitindo que desenvolvedores criem aplicativos de mensagens em tempo real com facilidade. Ele oferece uma base robusta e escalável para funcionalidades de chat como mensagens, canais, presença de usuários e indicadores de digitação em múltiplas plataformas. O pacote se integra perfeitamente ao serviço backend do Stream, proporcionando desempenho consistente e confiabilidade. Com suporte a Android, iOS, Web, macOS, Windows e Linux, garante consistência entre plataformas. Os desenvolvedores se beneficiam de uma API limpa, bem documentada e atualizações em tempo real por meio de conexões WebSocket.
Casos de uso
Chat em tempo real da equipe
Mensagens de suporte ao cliente
Notificações no aplicativo
Colaboração multiusuário
Chat de evento ao vivo
Principais recursos
Sincronização de mensagens em tempo real
Suporte multiplataforma
rastreamento de presença do usuário
Indicadores de digitação
Persistência do histórico de mensagens
Indicado para
Aplicativos com foco em chat
Ferramentas colaborativas
Sistemas de suporte
Plataformas sociais
Necessidades de comunicação em tempo real
Considerações
Requer serviço de backend do Stream Chat
Necessita de configuração da chave da API
Personalização limitada sem estilos adicionais
Dependente da conectividade de rede
Pode exigir integração com gerenciamento de estado
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
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.
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:
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.
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.
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.
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.