flutter_ai_chat 0.1.0
flutter_ai_chat: ^0.1.0 copied to clipboard
AI chat interface with streaming responses and conversation management
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
No changes yet.
0.1.0 - 2025-12-09 #
Added #
- Comprehensive test coverage with unit and widget tests
- Example app demonstrating all package features
- Support for
.envfile configuration for API keys - Improved error handling with user-friendly messages
- Dynamic sidebar/drawer updates when conversations change
- Markdown rendering for AI responses using
flutter_markdown_plus - API key configuration dialog in example app
- Theme toggle functionality in example app
Changed #
- Refactored package structure: removed
main.dartfromlib/(library packages shouldn't have entry points) - Updated to use
flutter_markdown_plusinstead ofmarkdownfor better Flutter integration - Improved error messages for API quota, invalid key, and rate limit errors
- Enhanced streaming response implementation with better error handling
- Updated SDK requirements: Dart >=3.8.0, Flutter >=3.32.0
Fixed #
- Android v1 embedding migration to v2 embedding
- VS Code launch configuration to correctly target example app
- Asset directory structure and configuration
.envfile loading error handling (FileNotFoundError)- Drawer/sidebar not updating when conversations are added or deleted
- Linting errors and code quality improvements
Documentation #
- Updated README.md to reflect actual implemented features
- Added example/README.md with usage instructions
- Added comprehensive dartdoc comments to all public APIs
- Updated package structure documentation
- Added example GIF preview to README for quick visual overview
Package Metadata #
- Added repository and issue tracker URLs
- Added package topics: flutter, ai, chat, openai, conversation
- Added funding information
- Updated package description and metadata for pub.dev publishing
0.0.1 - 2024-12-07 #
Added #
- Initial release of Flutter AI Chat application
- AI chat interface with streaming responses
- Conversation management system
- Cross-platform support for iOS, Android, Web, Windows, macOS, and Linux
- WASM compatibility for web platform
- Real-time chat streaming capabilities
- Modern, responsive UI design
- Secure API integration for AI services
Technical Features #
- Flutter 3.16+ compatibility
- Null safety implementation
- Responsive design for all screen sizes
- State management with Provider/Riverpod
- HTTP client for API communication
- Local storage for conversation persistence
- Platform-specific optimizations
Platform Support #
- ✅ iOS (iPhone/iPad)
- ✅ Android (Phone/Tablet)
- ✅ Web (Chrome, Firefox, Safari, Edge)
- ✅ Windows (Desktop)
- ✅ macOS (Desktop)
- ✅ Linux (Desktop)
Dependencies #
- Flutter SDK: >=3.24.0
- Dart SDK: >=3.8.0
- HTTP: ^1.0.0
- Provider: ^6.0.0
- Shared Preferences: ^2.0.0
- Path Provider: ^2.0.0
- Flutter DotEnv: ^6.0.0
- Flutter Markdown Plus: ^1.0.5
Version History #
- 0.0.1 - Initial release with basic AI chat functionality and cross-platform support