You have a Flutter app and you want an AI support chat inside it. Two pub.dev packages do this, and they make very different demands on your app. This post takes the same build, a support chat behind a "Help" button, and walks through what kommunicate_flutter asks of you next to widget_chat, the package behind Widget-Chat.
Everything said about Kommunicate here comes from its public pub.dev readme and score page (version 2.2.2 at the time of writing). Where the readme is silent, this post says so and does not guess.
The short answer
If your support team works in a human agent inbox and you need conversations to move from a bot to a person, Kommunicate is the better fit. Bot-to-human handoff, agent routing and a dashboard for live agents are what it is built around.
If you want an AI assistant that answers from your own content, renders as a Flutter widget in your own tree, and runs on desktop as well as mobile and web, widget_chat is the closer match. It is a kommunicate_flutter alternative for teams whose first line of support is the AI itself.
Criterion by criterion
| Criterion | kommunicate_flutter | widget_chat |
|---|---|---|
| How it renders | Plugin over Kommunicate's native Android and iOS SDKs, launched with buildConversation |
A Flutter widget, ChatWidget, placed in your widget tree |
| Platforms on pub.dev | Android, iOS, Web | iOS, Android, web and desktop through Flutter |
| iOS setup | pod install, platform :ios, '13.0', use_frameworks! (or Swift Package Manager) |
flutter pub add widget_chat |
| Where bot logic lives | Bot platforms connected in the dashboard: Dialogflow, Amazon Lex, OpenAI or Gemini | Answers from your own content, configured in a no-code dashboard |
| Human handoff | Yes, bot-to-human handoff with autoHandoff settings |
Not the focus: the AI answers, and action callbacks hand control back to your app |
| Lead capture | withPreChat: true shows a name, email and phone form |
Not a built-in pre-chat form |
| Theming | No theme method in the pub.dev readme | Light, dark and system themes |
| Voice | Voice mode, needs mic and speech recognition permissions | Live speech-to-speech calls with barge-in and captions |
Integration shape: native screen vs widget in your tree
This is the biggest difference for a Flutter developer, because it decides how the chat fits into your navigation and layout.
With Kommunicate, you build a conversation object and call the plugin. This is the readme's pattern:
import 'package:kommunicate_flutter/kommunicate_flutter.dart';
Future<void> openSupport() async {
dynamic conversationObject = {
'appId': '<APP_ID>', // from the Kommunicate dashboard
'isSingleConversation': true,
'withPreChat': true, // name, email, phone lead form
};
try {
dynamic result =
await KommunicateFlutterPlugin.buildConversation(conversationObject);
print('Conversation built: $result');
} on Exception catch (e) {
print('Conversation builder error: $e');
}
}
Other keys in that object include kmUser (log in a known user, passed as jsonEncode(user)), botIds, agentIds, groupName, metadata and createOnly, which creates the conversation without opening it and returns a clientChannelKey. The plugin also has updateChatContext, updateUserDetail and logout.
On iOS you also run pod install, and the Podfile needs iOS 13 and use_frameworks!. The readme notes that iOS SDK 7.3.8 only ships through Swift Package Manager, which Flutter enables by default from 3.44. On older Flutter with CocoaPods you stay on 7.3.6.
With widget_chat, the chat is a widget. You decide where it goes:
import 'package:flutter/material.dart';
import 'package:widget_chat/widget_chat.dart';
class SupportPage extends StatelessWidget {
const SupportPage({super.key, required this.userId});
final String userId;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Help')),
body: ChatWidget(
configuration: BotConfiguration(
projectSecretKey: 'your-project-secret-key',
userID: userId,
),
),
);
}
}
Because it is a regular widget, it sits under your AppBar, inside a tab, or in a bottom sheet, and it follows your app's routing.
Where the bot logic lives
Kommunicate is a bot-and-agent platform. Its readme describes connecting an external bot in the dashboard: upload a Dialogflow service-account key, add Amazon Lex credentials, or use its OpenAI and Gemini integrations. You design intents or flows on that bot platform, and Kommunicate routes the conversation, then hands off to a human when the bot cannot answer.
Widget-Chat skips the external bot setup. You give the assistant your own content in the dashboard, and it answers from that. There is no chat backend to build or host, and the model provider key stays server-side.
Dialogflow-style bot via Kommunicate
- Create the bot on Dialogflow, Lex or another platform
- Upload credentials to the Kommunicate dashboard
- Pass botIds or rely on conversation rules
- Configure autoHandoff for when the bot gives up
Answers from your own content with widget_chat
- Add your content in the Widget-Chat dashboard
- Pass a project key to ChatWidget
- Add custom HTTP tools or app callbacks if the bot needs to act
- No bot platform account to maintain
Platforms: web and desktop
The pub.dev listing for kommunicate_flutter declares Android, iOS and Web. Windows, macOS and Linux are not declared, and the score page notes the web build is not WASM compatible because the package imports dart:io.
widget_chat runs wherever your Flutter app does: iOS, Android, web and desktop. If you ship a macOS or Windows build of the same app, that matters.
Theming, rich messages and voice
Theming: the kommunicate_flutter readme on pub.dev does not document a theming method. widget_chat supports light, dark and system themes, and since it renders in your tree, it lives with the rest of your UI.
Rich messages: the Kommunicate readme does not list its message types, so check its own docs. widget_chat renders markdown, image cards, carousels, product lists, button groups, colour swatch pickers, tap-to-zoom images and video clips on cards, plus image attachments from camera or gallery.
Voice: both have it. Kommunicate's readme describes a voice mode that needs NSMicrophoneUsageDescription and NSSpeechRecognitionUsageDescription on iOS and RECORD_AUDIO on Android. widget_chat (0.0.23 and later) adds a live voice call: speech-to-speech replies, barge-in so the user can interrupt, live captions, and product cards shown on screen while it speaks. It needs NSMicrophoneUsageDescription and RECORD_AUDIO, and you can use the mic button in the composer or VoiceCallView for a voice-only screen.
When Kommunicate is the right call
Pick Kommunicate when:
- your support team answers chats in a shared agent inbox,
- you need bot-to-human handoff and agent routing (
agentIds,autoHandoff), - you want a pre-chat lead form (
withPreChat) before every conversation, - your bot already lives on Dialogflow or Amazon Lex.
Pick widget_chat when the AI should handle support on its own from your content, when the chat must feel like part of your Flutter UI, or when you ship desktop builds.
FlutterFlow note
In FlutterFlow, widget_chat goes in as a custom pub dependency and a custom widget (this needs a paid FlutterFlow plan). The full walkthrough is in the FlutterFlow guide.
Add widget_chat to your app
- InstallRun flutter pub add widget_chat.
- Create a projectSign up free and add your content in the dashboard.
- Drop in the widgetPlace ChatWidget with your project key and user ID.
- ShipRun it on iOS, Android, web or desktop.
ChatWidget(
configuration: BotConfiguration(
projectSecretKey: 'your-project-secret-key',
userID: 'user-123',
),
)
The package ships the finished chat screen, with history, themes, 46 UI locales, replies in 100+ languages and HMAC-signed user identity. The free plan needs no credit card: create your Widget-Chat account.




