flow_ui
0.3.0, released 3 months ago by stac.dev
Flutter UI library for building chat and AI assistant interfaces
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.
- flutter_chat_ui
Provides a similar chat UI but with a stable 1.0+ API and no external font dependency
90Compare
Works with
Packages commonly used together with flow_ui: ones it builds on, ones built on it, and its own family.
- material_uiflow_ui depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- google_fontsflow_ui depends on itFlutter package to load Google Fonts at runtime or bundle them as assets
- file_selectorflow_ui depends on itFlutter plugin for opening, saving, and selecting directories with native file dialogs