Skip to content
pubscout

flow_ui

0.3.0, released 3 months ago by stac.dev

Flutter UI library for building chat and AI assistant interfaces

WASM-readyUses material_ui
$ flutter pub add flow_ui
Source repository

What it does

Flow UI provides a collection of ready‑made widgets for chat surfaces, message threads, composers, attachments, and theming. It supports streaming text, file picking, and a consistent design system.

AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a production‑grade chat UI with built‑in theming and attachment support
  • You want to quickly prototype an AI assistant interface
  • You prefer a declarative widget set over custom implementation

Skip it when

  • You require a stable 1.0+ API with no breaking changes
  • You need a highly custom design that diverges from the provided theme
  • You are building a non‑chat UI that only needs generic widgets

Strengths

  • Rich set of chat‑specific widgets (thread, composer, attachments)
  • Built‑in theming with FlowTheme and Google Fonts
  • Streaming text and file picker integration
  • Zero‑state greeting and side panel support

Weaknesses

  • Pre‑1.0, API may change with minor releases
  • Requires network for Google Fonts on first use
  • Limited to chat/assistant use cases

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add flow_ui to pubspec, optionally add FlowTheme to MaterialApp. On Android add INTERNET permission, on macOS add network entitlement. No build_runner needed.

```dart
import 'package:flow_ui/flow_ui.dart';

class ChatPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return FlowChatView(
      messages: [],
      onSend: (text) => print(text),
    );
  }
}
```

Alternatives

Packages that do the same job and could replace flow_ui.

Works with

Packages commonly used together with flow_ui: ones it builds on, ones built on it, and its own family.