dify_flutter 1.0.0
dify_flutter: ^1.0.0 copied to clipboard
A comprehensive Flutter package for integrating Dify AI platform with beautiful chat UI components. Features include real-time messaging, conversation management, and customizable UI.
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.
1.0.0 2024-01-XX #
Added #
- Initial release of Dify Flutter package
- Complete Dify API integration with HTTP client
- Beautiful and modern chat UI components
- Provider pattern for state management
- Real-time messaging with WebSocket support
- Conversation management (create, load, delete)
- User management with local storage
- Streaming message responses
- Comprehensive error handling
- Cross-platform support (iOS, Android, Web, Desktop)
- Customizable UI components
- Example application with full setup guide
- Comprehensive documentation and API reference
Features #
DifyClient- Core API client for Dify integrationDifyProvider- State management providerDifyChatWidget- Complete chat interfaceDifyMessageBubble- Individual message displayDifyInputField- Message input componentDifyConfig- Configuration managementDifyMessage- Message data modelDifyConversation- Conversation data modelDifyUser- User data model
Technical Details #
- Built with Flutter 3.10.0+
- Uses Dio for HTTP requests
- WebSocket support for real-time communication
- SharedPreferences for local storage
- Provider pattern for state management
- Material Design 3 support
- Comprehensive error handling and retry mechanisms