widget_chat is live on pub.dev: drop-in AI chat for Flutter, FlutterFlow, iOS, Android, React & Web. Start free →

← Back to Blog
Best Flutter Chatbot Packages in 2026: 6 Options Compared

Best Flutter Chatbot Packages in 2026: 6 Options Compared

FlutterChatbot PackageComparisonwidget_chatSDK

Short answer: if you already run your own LLM backend, pick a UI kit. flutter_chat_ui is the most flexible, flutter_gen_ai_chat_ui is the most AI-specific, and flutter_ai_toolkit is the fastest route if you use Firebase and Gemini. If you have no backend and do not want to build one, widget_chat ships the chat screen and a hosted AI backend together.

The rest of this post explains that answer. Every version number and maintenance note below was checked on pub.dev in November 2026.

The one question that decides everything

Flutter chat packages fall into two groups, and most bad choices come from mixing them up.

UI kits. They draw the message list, the bubbles and the input field. They know nothing about AI. You call the model, keep the conversation history, protect the API key, handle errors and store messages. flutter_chat_ui, dash_chat_2 and flutter_gen_ai_chat_ui are in this group. flutter_ai_toolkit sits close to it: it wires the UI to a model for you, but the model access is your Firebase project.

Widget plus hosted backend. The package talks to a service that already does the AI part. You configure the service and embed the widget. widget_chat is in this group for AI assistants. stream_chat_flutter is in this group for chat between people.

So before comparing features, answer this: do you want to own the AI backend? If yes, you want a UI kit. If no, you want a hosted one.

Comparison table

Package Latest version Last release What you get Licence or pricing model What you still build
flutter_chat_ui 2.12.0 About 2 months ago Chat UI, backend-agnostic Apache-2.0, free The whole AI side: model calls, history, storage, key handling
dash_chat_2 0.0.21 About 2 years ago Chat UI MIT, free The whole AI side, plus working around an ageing package
flutter_ai_toolkit 1.0.0 About 11 months ago Chat UI wired to an LLM provider BSD-3-Clause, free. You pay for model usage through Firebase A Firebase project, your prompts and content, any server-side protection
flutter_gen_ai_chat_ui 2.22.0 About 3 weeks ago AI-focused chat UI MIT, free The model call and everything behind it
stream_chat_flutter 10.7.0 A few days ago Chat UI plus Stream's hosted messaging backend Proprietary licence for Stream customers. Free tier, then usage-based A token server, and the AI itself if you want a bot
widget_chat 0.0.25 November 2026 Chat UI plus hosted AI backend Proprietary. Free plan with no card, paid plans above it Your content and settings in the dashboard

flutter_chat_ui (Flyer Chat)

flutter_chat_ui is the most widely used chat UI on pub.dev, with roughly 1,600 likes. It is published by flyer.chat, licensed under Apache-2.0 and supports Android, iOS, web, macOS, Windows and Linux. Version 2 was a rewrite, and the package now describes itself as suitable for both real-time messengers and LLM-based assistants.

It is backend-agnostic by design. Messages live in a controller from the companion package flutter_chat_core, and almost every visual part can be swapped through builders.

import 'package:flutter_chat_core/flutter_chat_core.dart';
import 'package:flutter_chat_ui/flutter_chat_ui.dart';

final _chatController = InMemoryChatController();

Chat(
  chatController: _chatController,
  currentUserId: 'user1',
  onMessageSend: (text) {
    _chatController.insertMessage(
      TextMessage(
        id: 'unique-id',
        authorId: 'user1',
        createdAt: DateTime.now().toUtc(),
        text: text,
      ),
    );
    // Call your own backend here and insert the reply.
  },
  resolveUser: (UserID id) async => User(id: id, name: 'John Doe'),
)

Pick it when you have a backend already, or you want full control over how the chat looks and behaves.

What you still build: everything after onMessageSend. That means the request to your model, streaming the reply into a message, conversation memory, persistence and a server that keeps your API key out of the app.

dash_chat_2

dash_chat_2 was the usual recommendation a few years ago. It is MIT licensed, published by molteo.com, and its feature list is still good: quick replies, typing users, mentions, markdown, media messages and loading earlier messages.

The problem is maintenance. The latest version is 0.0.21 and it was published about two years ago. The README still marks reply-to-message, message status and audio support as work in progress. Platform tags cover Android, iOS, macOS and web.

DashChat(
  currentUser: ChatUser(id: '1'),
  onSend: (ChatMessage m) {
    setState(() => messages.insert(0, m));
  },
  messages: messages,
)

Pick it when you already use it and it works. For a new project in 2026, flutter_chat_ui or flutter_gen_ai_chat_ui are safer starting points because they are still being released.

What you still build: the same list as flutter_chat_ui, and you own any fix the package needs.

flutter_ai_toolkit

flutter_ai_toolkit comes from the Flutter team (publisher labs.flutter.dev) under a BSD-3-Clause licence. It reached 1.0.0 about 11 months ago, and its documentation on docs.flutter.dev was updated this month.

It is more than a UI kit. LlmChatView handles multi-turn chat, streaming responses, rich text, voice input, attachments, function calling and chat serialisation. Out of the box it supports Firebase AI Logic, which gives you Gemini models. There is also an abstract provider interface so you can plug in your own LLM.

LlmChatView(
  provider: FirebaseProvider(
    model: FirebaseAI.googleAI().generativeModel(
      model: 'gemini-2.5-flash',
    ),
  ),
)

Pick it when your app is already on Firebase and Gemini is the model you want. Nothing else gets you from zero to a working AI chat faster inside that stack.

What you still build: a Firebase project is required, configured with the FlutterFire CLI. The model answers from its general knowledge unless you add your own instructions, content and tools. Flutter's own documentation recommends routing AI requests through a backend for production apps. Platform support is Android, iOS, web and macOS, so Windows and Linux are out.

flutter_gen_ai_chat_ui

flutter_gen_ai_chat_ui is a UI kit built specifically for AI conversations. It is MIT licensed, published by dilacode.com, supports all six Flutter platforms and is the most actively released UI kit in this list: version 2.22.0 came out about three weeks ago.

Its feature list reads like the to-do list of anyone who has built an AI chat by hand: word-by-word streaming text animation, markdown with highlighted code blocks and a copy button, optional LaTeX, inline widget messages such as cards and forms, a tool-use surface with user confirmation, a stop-generating button, a welcome screen with example questions and right-to-left support.

AiChatWidget(
  currentUser: ChatUser(id: 'user'),
  aiUser: ChatUser(id: 'ai'),
  controller: ChatMessagesController(),
  onSendMessage: (message) {
    // Call your model here, then add the reply to the controller.
  },
)

Pick it when you have your own model endpoint and want a ChatGPT-style screen without designing one.

What you still build: it is UI only. You supply the model call, the history, the storage and the backend that holds your key.

stream_chat_flutter

stream_chat_flutter is the Flutter UI SDK for Stream Chat, and it is the most actively maintained package here: version 10.7.0 was published a few days ago. It covers all six platforms and includes reactions, threads, polls, voice messages, offline storage and localisation. Its feature list also mentions AI assistant streaming responses.

Stream is a hosted messaging service. The package is under Stream's own source code licence, which is tied to being a Stream customer, so it is not open source in the usual sense. Stream has a free tier and its paid plans are priced by monthly active users.

final client = StreamChatClient('your-api-key');
await client.connectUser(User(id: 'user-123'), userToken);

StreamChat(
  client: client,
  child: StreamChannel(
    channel: channel,
    child: Scaffold(
      appBar: StreamChannelHeader(),
      body: Column(
        children: [
          Expanded(child: StreamMessageListView()),
          StreamMessageInput(),
        ],
      ),
    ),
  ),
)

Pick it when people talk to people in your app: marketplaces, communities, team chat, support with human agents. For that job it is the better choice than anything else in this post, including ours.

What you still build: a backend that issues user tokens with Stream's server SDK. If you want an AI bot in a channel, you also build and host the part that calls the model.

widget_chat

widget_chat is our package, so read this section with that in mind. It is the only one here that includes the AI backend. You add the package, pass a project key, and the chat screen talks to a hosted assistant that you configure in a no-code dashboard: content, theme, languages and tools.

dependencies:
  widget_chat: ^0.0.27
ChatWidget(
  configuration: BotConfiguration(
    projectSecretKey: 'your-project-secret-key',
    userID: 'user-123',
  ),
)

What ships today:

  • Answers based on your own content
  • Rich messages: markdown, image cards, carousels and product lists
  • Custom HTTP tools, and callbacks so a button in the chat can trigger code in your app
  • Image attachments and paginated history
  • Light, dark and system themes
  • UI in 46 locales and replies in more than 100 languages
  • HMAC-signed user identity
  • Live voice chat with barge-in and captions on paid plans
  • iOS, Android, web and desktop, plus FlutterFlow

Pick it when you want an assistant in your app this week, you have no AI backend and you would rather edit content in a dashboard than ship an app update.

When it is the wrong choice: it is a hosted product under a proprietary licence, and you need an account. You do not get to swap the model pipeline for your own. The version number is still 0.0.x. If you already run an LLM backend, or you need pixel-level control over every bubble, a UI kit above will suit you better.

Which one should you pick?

  • You have your own LLM backend and want control over the design: flutter_chat_ui.
  • You have your own LLM backend and want an AI chat look out of the box: flutter_gen_ai_chat_ui.
  • You are on Firebase and happy with Gemini: flutter_ai_toolkit.
  • You are building chat between humans: stream_chat_flutter.
  • You have no backend and need an assistant that knows your product: widget_chat.
  • You are in FlutterFlow: widget_chat, because there is no backend to wire up. See the FlutterFlow guide.
  • You are starting a new project and thinking of dash_chat_2: choose one of the maintained kits.

If you go the UI kit route, budget time for the parts no kit solves. The two that catch most teams are conversation memory and markdown that flickers while a reply streams.

FAQ

What is the best Flutter chat UI package in 2026?

For a plain UI kit, flutter_chat_ui. It has the largest user base of the packages compared here, an Apache-2.0 licence, support for all six platforms and regular releases. If your chat is only ever with an AI, flutter_gen_ai_chat_ui saves you some work because streaming text, code blocks and a stop button are built in.

Is there a Flutter AI chat package that includes the backend?

Two come close in different ways. flutter_ai_toolkit connects the UI to Gemini through your own Firebase project, so the backend is Firebase and you manage it. widget_chat includes a hosted AI backend that you configure in a dashboard, so there is no project of your own to run.

Is dash_chat_2 still maintained?

Its last release on pub.dev, 0.0.21, is about two years old. The package still works for many apps, but several features are marked as work in progress in its README. For new projects, pick a package with recent releases.

Can I use these packages in FlutterFlow?

Any pub.dev package can be added to FlutterFlow as a custom widget, but UI kits also need custom actions for the model calls, and that is where most of the effort goes. widget_chat needs one custom widget and a project key. The FlutterFlow guide walks through it.

Try widget_chat for free

If the hosted route fits your app, the free plan needs no card. Create an account, add your content in the dashboard, copy the project key and drop ChatWidget into a screen. The package is on pub.dev and the product site is widget-chat.com.

Building in FlutterFlow? Start with How to Add an AI Chatbot to Your FlutterFlow App. Want voice as well? See live voice chat for Flutter.

And if you already have a backend you like, use flutter_chat_ui or flutter_gen_ai_chat_ui. They are good packages, and you will not need us.

Add an AI chat to your Flutter app without building it

Widget-Chat is a drop-in chat widget for Flutter and FlutterFlow. Add the package, pass your project key, and the whole chat screen is there. You set up the assistant in a no-code dashboard.

flutter pub add widget_chat

Free plan, no credit card.

Widget-Chat

About the author

Widget-Chat is built by a small team of Flutter developers. We write about the problems we hit while shipping AI chat in production apps.