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

Production-ready network layer for Flutter & Dart. Auth refresh, smart retry, offline queue, response cache, request deduplication, cancel management, upload progress — all zero-boilerplate with seale [...]

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
0
points
210
downloads

Publisher

unverified uploader

Weekly Downloads

Production-ready network layer for Flutter & Dart. Auth refresh, smart retry, offline queue, response cache, request deduplication, cancel management, upload progress — all zero-boilerplate with sealed Result types.

Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

connectivity_plus, dio, flutter

More

Packages that depend on dio_network_toolkit