flai_cli 0.2.0 copy "flai_cli: ^0.2.0" to clipboard
flai_cli: ^0.2.0 copied to clipboard

CLI tool for installing FlAI AI chat components into Flutter projects. A shadcn/ui-style distribution model — own your component source code.

FlAI CLI #

A CLI tool for installing AI chat components into Flutter projects. Like shadcn/ui — you own the source code.

Install #

dart pub global activate flai_cli

Usage #

# Initialize FlAI in your Flutter project
flai init

# Add components
flai add chat_screen
flai add openai_provider

# List available components
flai list

# Check project health
flai doctor

How it works #

FlAI generates component source code directly into your project using Mason brick templates. You get full ownership of every file — customize freely.

Available components #

Component Description
chat_screen Full chat screen with messages, input, and streaming
message_bubble Styled message bubble with markdown support
input_bar Chat input bar with send button
streaming_text Token-by-token text rendering
typing_indicator Animated loading dots
tool_call_card AI function call display
code_block Syntax-highlighted code with copy
thinking_indicator AI reasoning panel
citation_card Source attribution card
image_preview Image thumbnail with zoom
conversation_list Chat history list
model_selector AI model picker
token_usage Token count display
openai_provider OpenAI API integration
anthropic_provider Anthropic API integration
0
likes
150
points
110
downloads

Documentation

API reference

Publisher

verified publishergetflai.dev

Weekly Downloads

CLI tool for installing FlAI AI chat components into Flutter projects. A shadcn/ui-style distribution model — own your component source code.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #ai #chat #ui-components #cli

License

MIT (license)

Dependencies

args, mason, path, yaml, yaml_edit

More

Packages that depend on flai_cli