flutter_api_craft 0.0.4
flutter_api_craft: ^0.0.4 copied to clipboard
A comprehensive Flutter API client — all HTTP methods, auth types (Bearer, Basic, OAuth2, API Key, JWT), body types (JSON, form-data, GraphQL, binary), params, cookies, scripts, loading, snackbars, an [...]
0.0.4 #
- Added full
///documentation comments to all public classes, fields, and methods. - Added
repositoryandissue_trackerfields topubspec.yaml. - Added
topicsto improve pub.dev discoverability. - Added working
example/app demonstrating GET, POST, auth, params, and error handling. - Updated all dependencies to latest stable versions.
- Fixed all
dart analyzewarnings. - Switched to Dart 3 exhaustive
switchexpressions inRequestBuilder.
0.0.3 #
- Added injectable
httpClientparameter toFlutterApiCraftfor unit testing. - Added
isNetworkErrorandmessagegetters toApiResponse. - Added
htmlandjavascriptbody constructors toApiBody. - Added
oauth2TokenandjwtBearerconvenience constructors toApiAuthorization.
0.0.2 #
- Export all public classes from the package root so a single import covers the entire API.
- README update with expanded usage examples.
0.0.1 #
- Initial release.
- Supports all HTTP methods (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS).
- Supports all Postman body types (none, JSON, form-data, URL-encoded, raw, binary, GraphQL).
- Supports all Postman auth types (Bearer, Basic, JWT, OAuth 1/2, API Key, Digest, Hawk, AWS Signature, NTLM, Akamai EdgeGrid).
- Cookie jar, retry logic, and 401 token auto-refresh.
- EasyLoading overlay, GetX snackbars, and post-success navigation.