flutter_api_craft 0.0.5
flutter_api_craft: ^0.0.5 copied to clipboard
A comprehensive Flutter HTTP client with auth, retry, loading, snackbars, and GetX navigation support.
0.0.5 #
- Fixed
pubspec.yamldescription length to meet pub.dev requirements (60–180 characters). - Removed unnecessary
dart:uiimport fromapi_models.dart(already provided by Flutter). - Updated
connectivity_plusconstraint to^7.1.1to support latest stable version. - Fixed
dart analyzeinference warnings: added explicit type args toFuture.delayed,Get.back, and GetX navigation methods. - Fixed
comment_referenceslint warnings in doc comments acrossenums.dart,api_response.dart, andapi_models.dart.
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.