ai_chat_plus 1.2.3 copy "ai_chat_plus: ^1.2.3" to clipboard
ai_chat_plus: ^1.2.3 copied to clipboard

A Flutter package by jamalihassan0307 for seamless AI chat integration. Features OpenAI, Gemini, and Claude support with type-safe implementation.

1.2.3 #

Major Improvements #

  • 🎯 Enhanced Package Quality & Pub Points
    • Updated freezed_annotation to ^3.1.0 for latest compatibility
    • Updated provider to ^6.1.5 for improved state management
    • Updated freezed to ^2.5.7 for better code generation
    • Achieved better pub.flutter-io.cn scoring with up-to-date dependencies

Documentation & UI Enhancements #

  • πŸ“š Improved Documentation
    • Enhanced banner image presentation with kbd styling
    • Simplified demo section for better mobile/desktop compatibility
    • Updated developer profile image with direct GitHub raw links
    • Added comprehensive screenshots section to pubspec.yaml

Package Presentation #

  • 🎨 Visual Improvements
    • Updated banner image with modern kbd container styling
    • Fixed responsive demo layout issues
    • Enhanced developer profile section at bottom
    • Added proper screenshots metadata for pub.flutter-io.cn showcase

Developer Experience #

  • πŸ› οΈ Better Maintenance
    • Resolved dependency version conflicts
    • Improved package analysis score
    • Enhanced pub.flutter-io.cn package presentation
    • Better compatibility with latest Dart and Flutter versions

Upcoming Features Preview #

  • πŸ’Ύ Next Release (v1.3.0)
    • Firebase Firestore integration for message persistence
    • Local SQLite storage for offline capabilities
    • Voice message recording and playback
    • File and image attachment support

1.2.2 (Upcoming) #

New Features #

  • πŸ“š Enhanced documentation with comprehensive examples and GIFs
  • 🎯 Added detailed implementation guides for all example projects
  • πŸš€ Improved package showcase with live demos
  • πŸ“± Better mobile responsiveness documentation

Examples Enhancement #

  • πŸ”₯ AI Integration Example (example/ai_integration/)

    • Multiple provider support with seamless switching
    • Individual chat pages for OpenAI, Gemini, and Claude
    • Enhanced UI with provider-specific themes
    • Comprehensive error handling implementation
  • 🎨 Customizable Chat UI Example (example/customizable_chatui/)

    • Fully customizable chat themes and components
    • Real-time theme switching and configuration
    • Advanced chat settings with color pickers
    • Custom gradient backgrounds and styling
  • πŸ’¬ Simple Chat Example (example/simple_chat/)

    • Quick start implementation with minimal setup
    • Provider switching in a single interface
    • Clean and efficient code structure
  • πŸš€ Prebuilt Simple Chat UI (example/prebuilt_simple_chatui/)

    • Ready-to-use chat components
    • Built-in provider management
    • Minimal configuration required

Documentation Improvements #

  • πŸ“– Added comprehensive API documentation
  • πŸ”§ Enhanced setup and configuration guides
  • πŸ›‘οΈ Security best practices and recommendations
  • 🎯 Performance optimization tips
  • πŸ—ΊοΈ Detailed roadmap for future features

Upcoming Features Preview #

  • πŸ’Ύ Message Storage & Persistence

    • Firebase Firestore integration (Coming in v1.3.0)
    • Local SQLite storage for offline capabilities
    • Cloud sync and backup functionality
    • Chat history management and search
  • 🎀 Voice & Media Features

    • Speech-to-text integration
    • Text-to-speech responses
    • Voice message recording and playback
    • File and image attachment support
  • πŸ” Advanced Features

    • Message search and filtering
    • Chat categorization and tagging
    • Usage analytics and insights
    • Multi-language support
    • Enhanced theme system

Performance Optimizations #

  • ⚑ Improved service initialization and disposal
  • 🎯 Enhanced memory management
  • πŸ”„ Better state management for chat components
  • πŸ“± Optimized UI rendering performance

1.2.1 #

Improvements #

  • Fixed color property deprecation warnings in chat bubble
  • Updated color handling to use modern Flutter color APIs
  • Enhanced compatibility with latest Flutter versions
  • Improved code quality and static analysis score
  • Updated dependencies to latest compatible versions

1.2.0 #

Major Updates #

  • Enhanced AI service integration with improved performance
  • Optimized message handling and response processing
  • Improved cross-provider compatibility and switching
  • Updated UI components with modern design patterns
  • Enhanced error handling and recovery mechanisms

New Features #

  • Improved type safety across all providers
  • Enhanced state management for chat components
  • Optimized resource usage and cleanup
  • Added comprehensive error reporting
  • Enhanced documentation and examples

1.1.6 #

Improvements #

  • Enhanced API response handling
  • Optimized provider switching logic
  • Improved error recovery mechanisms
  • Updated documentation and examples
  • Refined code structure and organization

1.1.5 #

Improvements #

  • Enhanced error handling for API responses
  • Optimized message processing performance
  • Improved type safety in service implementations
  • Updated API documentation
  • Refined code organization

Bug Fixes #

  • Fixed deprecated color property usage in chat bubble
  • Updated color value handling for better compatibility
  • Improved color opacity calculations

1.1.4 #

Bug Fixes #

  • Improved error handling in message processing
  • Enhanced code formatting and style consistency
  • Optimized message handling performance
  • Fixed provider switching issues
  • Updated documentation accuracy

1.1.3 #

Bug Fixes #

  • Fixed remaining deprecated color usage
  • Updated error handling implementation
  • Improved code organization
  • Enhanced documentation clarity
  • Fixed performance issues

1.1.2 #

Bug Fixes #

  • Fixed deprecated color opacity usage in chat theme
  • Updated to use Color.fromRGBO for better color handling
  • Enhanced theme customization documentation
  • Improved example implementation structure
  • Fixed layout issues in color picker dialog

1.1.1 #

New Features #

  • Added customizable chat UI components with light, dark, and custom themes
  • Implemented real-time provider switching in chat interface
  • Added enhanced message handling with typing indicators
  • Improved error handling with user-friendly notifications
  • Added support for attachments in custom chat UI
  • Enhanced theme customization options

Improvements #

  • Optimized AI service initialization and disposal
  • Enhanced state management for chat UI components
  • Improved cross-provider compatibility
  • Added better error recovery for API failures
  • Enhanced code documentation for new UI components

Bug Fixes #

  • Fixed unused build context warnings in chat pages
  • Improved error handling in message processing
  • Enhanced API key management security
  • Fixed provider switching issues
  • Optimized resource cleanup on widget disposal

1.1.0 #

Major Updates #

  • Complete documentation overhaul with detailed guides
  • Enhanced error handling system with better user feedback
  • Improved cross-platform compatibility
  • Performance optimizations for message handling

New Features #

  • Added comprehensive implementation examples
  • Enhanced UI components with modern design patterns
  • Improved state management and resource usage
  • Added detailed API documentation
  • Enhanced type safety across the package

Improvements #

  • Better error recovery mechanisms
  • Optimized message processing
  • Updated widget documentation
  • Enhanced code examples
  • Improved testing coverage

1.0.9 #

  • Fixed deprecated color opacity usage in chat UI
  • Improved code formatting and structure
  • Enhanced widget performance and stability
  • Updated to use modern color manipulation methods
  • Improved static analysis compliance
  • Enhanced code documentation and examples

1.0.8 #

  • Added Prebuilt Chat UI with customizable components
  • Implemented provider switching in the chat interface
  • Enhanced message handling with improved error feedback
  • Added support for dynamic model selection
  • Improved UI/UX with modern Material 3 design
  • Added example implementation with provider switching
  • Updated documentation with new UI components usage

1.0.7 #

  • Added platform-specific implementations for iOS
  • Created basic plugin structure for all supported platforms
  • Updated Flutter SDK constraints for better compatibility
  • Improved plugin registration mechanism
  • Enhanced cross-platform support

1.0.6 #

  • Added web platform support with platform-agnostic HTTP client
  • Implemented cross-platform compatibility using universal_io
  • Added web socket support for streaming capabilities
  • Enhanced plugin configuration for all supported platforms
  • Improved web-specific implementations and error handling

1.0.5 #

  • Updated dependencies to latest compatible versions
  • Fixed SDK compatibility issues with freezed package
  • Improved package stability and performance
  • Enhanced documentation clarity

1.0.4 #

  • Added Claude AI integration with full support for text generation
  • Added Claude service implementation with proper error handling
  • Updated documentation with Claude usage examples and API key instructions
  • Added Claude model types (Sonnet, Opus, Haiku)
  • Improved UI components for Claude chat interface
  • Enhanced type safety for Claude service implementation

1.0.3 #

  • Updated documentation with improved usage examples
  • Enhanced error handling documentation
  • Added key features section in documentation
  • Improved code examples and implementation details
  • Updated API key management instructions

1.0.2 #

  • Fixed Gemini service implementation and initialization
  • Improved error handling in AIServiceFactory
  • Fixed OpenAI service streaming implementation
  • Updated documentation with correct version numbers
  • Fixed null safety issues in service implementations

1.0.1 #

  • Added Google Gemini integration with full support for text generation
  • Improved error handling and user feedback
  • Enhanced UI components with better message bubbles and loading states
  • Added comprehensive example app with separate OpenAI and Gemini implementations
  • Updated documentation with detailed usage examples
  • Fixed minor bugs and improved stability

1.0.0 #

Initial release of AI Chat Plus package with the following features:

  • OpenAI GPT Integration (3.5/4/4-turbo)
  • Streaming responses support
  • Type-safe API with proper error handling
  • Easy integration with modular design
  • Support for future AI model integrations (Gemini, Claude)

Implementation Details #

  • Added base AI service interface
  • Implemented OpenAI service with streaming support
  • Added model configuration and factory pattern
  • Type-safe enums for AI providers and models
8
likes
160
points
214
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A Flutter package by jamalihassan0307 for seamless AI chat integration. Features OpenAI, Gemini, and Claude support with type-safe implementation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dart_openai, equatable, flutter, flutter_web_plugins, freezed_annotation, google_generative_ai, http, json_annotation, provider, universal_io, web_socket_channel

More

Packages that depend on ai_chat_plus