flutter_api_helper 1.0.0
flutter_api_helper: ^1.0.0 copied to clipboard
A powerful, easy-to-use API helper for Flutter that handles everything from simple GET requests to complex error handling, caching, and token management.
1.0.0 - 2025-07-27 #
Added #
- Initial release of Flutter API Helper
- Basic HTTP methods (GET, POST, PUT, PATCH, DELETE)
- Automatic error handling with custom ApiError class
- Request retry logic with exponential backoff
- Response caching with memory and disk storage
- Token management with auto-refresh
- File upload/download with progress tracking
- ApiBuilder widget for easy UI integration
- Request/response interceptors
- Network connectivity checking
- Comprehensive test suite
- Full documentation and examples
Highlights #
- ✅ Simple API – Intuitive methods for all HTTP operations
- ✅ Smart Caching – Memory and disk caching with configurable TTL
- ✅ Auto Retry – Exponential backoff for failed requests
- ✅ Token Management – Automatic token refresh and injection
- ✅ File Operations – Upload/download with progress tracking
- ✅ Network Aware – Built-in connectivity checking
- ✅ Widget Integration – Ready-to-use Flutter widgets
- ✅ Type Safe – Full generic type support
- ✅ Interceptors – Custom request/response processing
- ✅ Error Handling – Comprehensive error types and handling