Skip to main content

ai_assistant_ui 0.0.2 copy "ai_assistant_ui: ^0.0.2" to clipboard
ai_assistant_ui: ^0.0.2 copied to clipboard

A customizable, modern AI Chat UI library for Flutter supporting Google Gemini, OpenAI, Claude, Ollama, dynamic light/dark themes, and chat history persistence.

Changelog #

All notable changes to the ai_assistant_ui package will be documented in this file.

0.0.2 #

🚀 Enhancements & Pub.dev Optimizations #

  • Documentation & Screenshots: Added side-by-side Dark/Light theme screenshots and security notes.
  • Pub.dev Topics: Tagged package with flutter, ai, chatbot, gemini, and openai.
  • Expanded Test Suite: Added provider unit tests, storage tests, model tests, and UI component tests.
  • Multi-Provider Showcase Example: Updated demo app with interactive AI provider switcher.
  • Security Guidance: Added security best practices for API key management in client-side apps.

0.0.1 Initial Release #

✨ Features #

  • Modern Futuristic UI: Clean glassmorphism layout with smooth message bubbles, timestamps, and responsive designs.
  • Multi-AI Provider Integration: Built-in support for:
    • GeminiProvider (Google Gemini AI)
    • OpenAIProvider (OpenAI GPT-4o / GPT-3.5)
    • ClaudeProvider (Anthropic Claude 3.5 Sonnet)
    • OllamaProvider (Local LLMs via Ollama)
    • CustomAIProvider (Custom API Backends)
  • Theme Customization:
    • Dynamic isDarkMode toggle supporting app system brightness (Theme.of(context).brightness).
    • Sun ☀️ / Moon 🌙 theme mode toggle button in app bar.
    • AIChatTheme.dark() and AIChatTheme.light() preset factories with customizable color tokens.
  • Capsule Input Bar:
    • Capsule rounded input field with transparent inner decorations (no double borders).
    • Circular Send (Icons.arrow_upward_rounded) and Stop Generation (Icons.stop_rounded) buttons.
  • Message Bubbles & Markdown:
    • Full GFM Markdown support with code highlighting & copy button.
    • Sparkles avatar for AI assistant and custom person avatar for user messages.
    • Formatted HH:mm timestamp display and message actions (Copy, Regenerate).
  • Session History & Persistence:
    • Out-of-the-box support for HiveChatStorage (local offline storage) and MemoryChatStorage.
    • Drawer menu for switching between previous chat sessions.
2
likes
140
points
179
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable, modern AI Chat UI library for Flutter supporting Google Gemini, OpenAI, Claude, Ollama, dynamic light/dark themes, and chat history persistence.

Repository (GitHub)
View/report issues

Topics

#flutter #ai #chatbot #gemini #openai

License

MIT (license)

Dependencies

dio, equatable, flutter, flutter_bloc, flutter_markdown, hive, hive_flutter

More

Packages that depend on ai_assistant_ui