api_widget 1.0.0
api_widget: ^1.0.0 copied to clipboard
A powerful and flexible Flutter widget for handling API requests with built-in loading states, error handling, and retry mechanisms.
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 2025-03-2025 #
Added #
- Initial stable release
- Comprehensive API request handling functionality
- Built-in loading overlay with customizable widgets
- Automatic retry mechanism for failed requests
- Error handling with customizable error messages
- Secure header management with token support
- Multipart form data support with file upload capabilities
- Request/response logging for debugging
- Timeout handling with configurable duration
- Debug mode with curl command generation
- Cross-platform support (iOS, Android, Web, Windows, macOS, Linux)
- Comprehensive test coverage
- Example project demonstrating all features
- Detailed API documentation
- Type-safe API configuration
- HTTP method support (GET, POST, PUT, DELETE, PATCH)
- Custom header support per request
- Global configuration options
- Response status code handling
- Network error handling
- JSON serialization support
Changed #
- Upgraded minimum Flutter SDK requirement to 3.0.0
- Improved error handling and reporting
- Enhanced documentation with more examples
Security #
- Implemented secure token handling
- Added HTTPS support by default
- Secure header management for sensitive data