Flutter Chat SDK v5 — LLM docs index (Latest)
Low-level (headless) Flutter chat + calling client — no UI. Packagecometchat_sdk@5(calling addscometchat_calls_sdk@5). This page is a Flutter-SDK-v5-only routing index for AI agents — a scoped alternative to the site-wide/docs/llms.txt.
How to use this index
Each link points to the docs page; append.md to its URL to fetch the clean Markdown twin
(verbatim code + method signatures, parameters, and listener contracts). Pick the page for the
intent, then read the API there.
- Convention: any docs page URL +
.md→ raw Markdown. - Fallback: if a
.mdtwin 404s, fetch the same URL without.md(HTML). Never read the installed Dart source in place of a doc, and never answer APIs from memory.
Platform rules — headless, and Dart
This is the SDK, not the UI Kit: it ships no widgets. You own every view. Also:- Callbacks, not futures, carry the result. The message and group APIs take
onSuccessandonErrorcallbacks and both are required — awaiting the call alone gives you nothing to act on. Write the success path insideonSuccess. - Listeners must be removed. Every
add*Listener(id, …)needs the matchingremove*Listener(id), normally indispose(). Leaked listeners are the top source of duplicate-message bugs. - You do not receive your own sends. The realtime listeners deliver other people’s messages.
A message you send is returned to you through
onSuccessand nowhere else, so any local list must append it yourself. - The UI Kit re-exports this SDK. If the app already depends on
cometchat_chat_uikit, the SDK types resolve from the kit barrel — do not add a second, differently-versioned direct dependency. - Building UI from scratch is a lot of work. If the goal is “add chat”, prefer the Flutter UI Kit and drop to this SDK only for custom UI or headless/background logic.
Hot path — usually no fetch needed
For a plain integration the install,init → login, and the core send / receive-listener flow
are stable; a well-built agent skill bakes them. Fetch below only for exhaustive parameters,
long-tail methods, group/user management, calling, or edge-case listeners.
- Setup: Setup
- Auth/lifecycle: Authentication
- Core send/receive: Send A Message · Receive A Message · All Real Time Listeners
Getting started / integration
Messaging — send & receive
- Messaging Overview
- Send A Message
- Receive A Message
- Edit A Message
- Delete A Message
- Upload Files & Send Attachments
- Threaded Messages
- Transient Messages
- Additional Message Filtering
Messaging — signals & state
Conversations
Users
Groups
- Groups Overview
- Create A Group
- Retrieve Groups
- Join A Group
- Leave A Group
- Update A Group
- Delete A Group
- Add Members To A Group
- Retrieve Group Members
- Change Member Scope
- Ban / Kick Member
- Transfer Group Ownership