dio_network_toolkit 1.0.4 copy "dio_network_toolkit: ^1.0.4" to clipboard
dio_network_toolkit: ^1.0.4 copied to clipboard

Production-ready network layer for Flutter & Dart with auth refresh, smart retry, offline queue, response cache, deduplication, and upload progress using sealed Result types.

1.0.4 #

  • Add dartdoc comments to all public API members (100% documentation coverage)
  • Add GitHub release, issue templates, CONTRIBUTING.md, and FUNDING.yml
  • Enable GitHub Discussions
  • Update repo description, homepage, and topics on GitHub

1.0.3 #

  • Fix unnecessary non-null assertion warning in CacheInterceptor

1.0.2 #

  • Shorten package description to meet pub.dev conventions
  • Bump dio lower bound to ^5.5.0 (fixes DioMediaType availability at lower bounds)
  • Bump connectivity_plus to ^7.0.0
  • Bump minimum Dart SDK to >=3.2.0 and Flutter to >=3.19.0

1.0.1 #

  • Fix repository URLs in pubspec to match GitHub repo

1.0.0 #

  • Initial release
  • Sealed Result<T> type with Success and Failure
  • NetworkToolkit — unified API client with GET, POST, PUT, PATCH, DELETE, getList, raw
  • AuthInterceptor — token injection + automatic 401 refresh with request queuing
  • RetryInterceptor — exponential backoff + jitter, Retry-After support
  • ConnectivityInterceptor — fail-fast offline detection
  • CacheInterceptor — in-memory GET cache (networkFirst, cacheFirst, staleWhileRevalidate)
  • DedupInterceptor — request deduplication for identical in-flight GETs
  • PrettyLogInterceptor — structured debug-only logging
  • OfflineRequestQueue — queue mutations when offline, auto-replay on reconnect
  • CancelTokenManager — lifecycle-aware cancel token management
  • UploadManager — single file, multi-file, and bytes upload with progress
  • NetworkToolkitFactory — multi-base-URL support
  • ResultExtensions — mapSuccess, flatMap, dataOr, onSuccess, onFailure
4
likes
160
points
210
downloads

Publisher

unverified uploader

Weekly Downloads

Production-ready network layer for Flutter & Dart with auth refresh, smart retry, offline queue, response cache, deduplication, and upload progress using sealed Result types.

Repository (GitHub)
View/report issues
Contributing

Topics

#dio #networking #http-client #clean-architecture #api

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

connectivity_plus, dio, flutter

More

Packages that depend on dio_network_toolkit