ai_assistant_ui 0.0.2
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, andopenai. - 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
isDarkModetoggle supporting app system brightness (Theme.of(context).brightness). - Sun
☀️/ Moon🌙theme mode toggle button in app bar. AIChatTheme.dark()andAIChatTheme.light()preset factories with customizable color tokens.
- Dynamic
- 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:mmtimestamp display and message actions (Copy,Regenerate).
- Session History & Persistence:
- Out-of-the-box support for
HiveChatStorage(local offline storage) andMemoryChatStorage. - Drawer menu for switching between previous chat sessions.
- Out-of-the-box support for