flutter_api_craft 0.0.4 copy "flutter_api_craft: ^0.0.4" to clipboard
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 repository and issue_tracker fields to pubspec.yaml.
  • Added topics to 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 analyze warnings.
  • Switched to Dart 3 exhaustive switch expressions in RequestBuilder.

0.0.3 #

  • Added injectable httpClient parameter to FlutterApiCraft for unit testing.
  • Added isNetworkError and message getters to ApiResponse.
  • Added html and javascript body constructors to ApiBody.
  • Added oauth2Token and jwtBearer convenience constructors to ApiAuthorization.

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.
5
likes
130
points
238
downloads

Documentation

API reference

Publisher

verified publisheranayathossain.com

Weekly Downloads

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, and navigation in one place.

Repository (GitHub)
View/report issues

Topics

#http #networking #api #rest #getx

License

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_easyloading, get, http, shared_preferences

More

Packages that depend on flutter_api_craft