api_hawk
A lightweight HTTP inspector for Flutter. Built-in support for Dio, http, and Chopper. Granular copy options, collapsible JSON viewer, and quick cURL export.
1.0.10
183 downloads/mo
#1415 most downloaded on pub.dev
awais-jamil/ApiHawk
What this package is like to depend on
Last release 12 days ago
12 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
3 months old
10 releases · first in 2026
10 releases in the last 12 months
see the full history below
Release timeline
10 releases · Apr 2026 to Aug 2026Releases
latest 10-
1.0.1012 Aug 2026Release notes
Open source →- Docs: Fixed broken Markdown screenshot links on pub.dev and updated README installation version to 1.0.10
-
1.0.912 Aug 2026Release notes
Open source →- UI: Added automated, beautiful native iOS screenshots to README using
integration_test - Fix: Addressed layout overflow issues in the example app on specific iOS device safe areas
- UI: Added automated, beautiful native iOS screenshots to README using
-
1.0.712 Aug 2026Release notes
Open source →- UI: Endpoint path and server URL in the call list now wrap to multiple lines instead of truncating with an ellipsis. Added auto-resizing text if the endpoint is very long.
-
1.0.610 Jul 2026Release notes
Open source →- Fix: Clipboard operations now have timeout protection (500ms) to prevent indefinite hanging in add-to-app contexts where the platform channel may not respond
- Fix: Clipboard write always executes regardless of widget lifecycle state — previously could be skipped if context was unmounted
- Improved debug logging: each failed clipboard attempt is now logged individually for easier diagnosis
-
1.0.510 Jul 2026Release notes
Open source →- Fix: Clipboard copy now works reliably in add-to-app (Flutter module embedded in native host) contexts
- Uses
SystemChannels.platformdirect invocation with fallback toClipboard.setDataand retry logic (up to 3 attempts) - Debug-mode warning log when all clipboard attempts fail, for easier diagnosis
-
1.0.424 Jun 2026Release notes
Open source →- Fix: Snackbar/toast no longer persists when navigating away from API Hawk screens (scoped ScaffoldMessenger)
- Fix: VIEW button crash on stale context — added mounted guard before showing dialog
- Fix: Copy action sheet now correctly shows snackbar on the detail screen after bottom sheet dismissal
- Fix: Console log now uses
dart:developerlog alongsidestdoutfor Android Studio Run tab visibility - UI: Failed API calls (4xx, 5xx, network errors) now show red/purple-tinted card backgrounds with colored borders
- UI: Small error/wifi-off icon added to failed call list items for visual clarity
- Hidden
content-lengthfrom request headers tab (redundant noise) - Updated README with pub.dev installation, features list, and debug console documentation
-
1.0.329 Apr 2026Release notes
Open source →- Fix: JSON tree viewer horizontal overflow on deeply nested objects — now scrollable sideways
- Fix: Dio interceptor now captures final request headers (auth tokens added by later interceptors)
- Fix: Console logging uses
dart:iostdout to bypassrunZonedGuardedzones - Fix: Console log runs before clipboard (prevents silent failure on iOS simulator)
- Made
HawkHttpRequest.headersmutable for post-request header updates
-
1.0.229 Apr 2026Nothing published for this version
-
1.0.129 Apr 2026Release notes
Open source →- Fix: Clipboard doesn't sync on iOS simulator — copied text is now logged to the debug console
- Added "VIEW" action on copy snackbar (debug mode only) to show selectable text in a dialog
-
1.0.029 Apr 2026Release notes
Open source →- Initial release
- Built-in interceptors for Dio, http, and Chopper
- Generic logging API for any HTTP client (
logRequest/logResponse/logError) - Collapsible JSON tree viewer with syntax highlighting
- Granular copy menu: URL, request headers, request body, response headers, response body, cURL, full call log
- Long-press to copy any header row or JSON value
- Quick cURL copy button in app bar
- Search by URL with HTTP method filter chips
- GitHub-dark themed UI
- Optional
navigatorKeyfor overlay-safe navigation - In-memory only storage — no disk writes