An AI chat widget for your Flutter app
Add the widget_chat package, pass your project key, and the whole chat screen is in your app: history, rich messages, voice, 46 locales. The assistant answers from your own content and you configure it in a dashboard. There is no chat backend to build or host.
Free plan, no credit card.
// flutter pub add widget_chat
import 'package:widget_chat/widget_chat.dart';
ChatWidget(
configuration: BotConfiguration(
projectSecretKey: 'YOUR_PROJECT_KEY',
userID: 'unique-user-id',
),
)How it works
- 1
Create a project
Sign up, name your assistant and add the pages or documents it should answer from.
- 2
Add the package
Run flutter pub add widget_chat and place ChatWidget in your widget tree with your project key.
- 3
Ship
Change the content, theme, languages and tools from the dashboard. No app release needed.
What you get
Answers from your content
Train the assistant on your pages and documents in the dashboard. No vector database to run.
Rich messages
Markdown, image cards, carousels and product lists, with buttons that call back into your app.
Tools
The assistant calls your HTTP APIs to fetch live data. You declare them in the dashboard.
Live voice chat
A real-time voice call in the same widget, with barge-in and live captions (paid plans).
46 locales, 100+ languages
The chat UI ships translated, and the assistant replies in the language the user writes in.
Verified users
Sign user ids with HMAC on your server so nobody can read another user's conversation.
Building it yourself versus the package
| You build | Widget-Chat | |
|---|---|---|
| Chat UI | Bubbles, input, scroll, keyboard, typing indicator, accessibility | Included |
| Backend | A server in front of the model, auth, rate limits, retries | Hosted |
| Your content | Crawling, chunking, embeddings, retrieval | Add URLs in the dashboard |
| History | Storage, pagination, per-user isolation | Included |
| Voice | Audio session, echo, barge-in, permissions on each platform | A toggle in the dashboard |
| Changes after launch | A new app release | Edit in the dashboard |
Questions
Which platforms does the Flutter package support?
iOS, Android, web and desktop. One ChatWidget and one dashboard project serve all of them.
Do I need my own backend or an LLM API key?
No. Widget-Chat hosts the assistant. The model provider key never ships in your app.
Can the chat trigger actions in my app?
Yes. Rich message buttons call callbacks you register on ChatWidget, and the assistant can call your HTTP APIs as tools.
How do I identify signed-in users?
Pass your own user id as userID. For verified identity, sign it with HMAC on your server and pass the signature.
Is there a free plan?
Yes. The free plan includes 250 messages a month and needs no credit card.
