use_request 0.0.5 copy "use_request: ^0.0.5" to clipboard
use_request: ^0.0.5 copied to clipboard

A Flutter useRequest-style async request management library based on dio, flutter_hooks, and Riverpod.

0.0.5 #

  • Optimize auto-request logic: allow auto-trigger when defaultParams is null (provided manual is false).
  • Docs: add minimalist usage example (Zero Configuration).

0.0.4 #

  • Reformat source to satisfy dart format and static analysis.
  • Upgrade dependencies to latest supported versions (flutter_hooks, flutter_riverpod), keeping Riverpod v3 compatibility via legacy API.

0.0.2 #

  • Implement active-key single-state semantics for fetchKey (stale key results no longer update state).
  • Fix Debouncer so new calls cancel previous pending futures instead of leaving them hanging.
  • Align Hook and Riverpod behaviors (retry callbacks, polling control, cancel semantics, cache consistency).
  • Improve polling lifecycle: ready/manual gating, visibility pause/resume on Web, and optional pollingRetryInterval auto-restore.
  • Rework DioHttpAdapter.request to support per-request timeouts and merged headers/query.
  • Enhance example demos (interactive polling controls, sidebar scroll fix, JSONPlaceholder PUT/PATCH safe id).
  • Docs/metadata: add bilingual README, pub badges, topics, and Flutter CI workflow.

0.0.1 #

  • Initial release.
1
likes
160
points
157
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter useRequest-style async request management library based on dio, flutter_hooks, and Riverpod.

Repository (GitHub)
View/report issues

Topics

#hooks #dio #riverpod #async #request

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_hooks, flutter_riverpod

More

Packages that depend on use_request