api_track_inspector
Dependency-free Flutter network inspector for debug builds. Logs any HTTP client (Dio, http, chopper) and shows requests in an in-app viewer behind a draggable FAB.
2.0.0
149 downloads/mo
#1614 most downloaded on pub.dev
abduwael/network_inspector
What this package is like to depend on
Last release 12 days ago
11 Aug 2026
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
5 months old
13 releases · first in 2026
13 releases in the last 12 months
see the full history below
Release timeline
13 releases · Mar 2026 to Aug 2026Releases
latest 13-
2.0.011 Aug 2026Release notes
Open source →The package now has zero runtime dependencies. A debugging tool should not dictate your app's architecture — it works the same under Bloc, Riverpod, Provider, GetX or plain
setState, and can no longer drag your transitive dependency versions around.Removed dependencies
get(GetX) —NetworkInspectorServiceis now a plainChangeNotifierinstead of aGetxService, the dialog is a normalshowDialogroute closed withNavigator.pop, and the copy confirmation is a self-contained toast instead ofGet.snackbar. NoGet.key, noGetMaterialApp, no navigator key of any kind is required.flutter_screenutil— every.w/.h/.sp/.ris gone. This was a latent crash: those extensions readlatefields, so the inspector threwLateInitializationErrorin any app that did not wrap its root inScreenUtilInit. Sizes are now plain logical pixels.gap— replaced withSizedBox.share_plus— export and share now copy to the clipboard by default. PassonShare:to route them to a native share sheet with the plugin of your choice. This also removes the oldshare_plus 7.xconstraint, which pinnedwin32 <6.0.0and silently forcedpackage_info_plusdowngrades in host apps.
Breaking
NetworkInspector.showDialog()→NetworkInspector.show(BuildContext).NetworkInspector.onRequest/onResponse(GetConnect helpers) removed — their signatures took GetX types. UselogRequest/logResponse.NetworkInspector.setRequestBody()removed — passbody:tologRequest.NetworkInspectorServiceextendsChangeNotifier, notGetxService;logsis now an unmodifiable list.- Minimum SDK raised to Flutter
>=3.27.0/ Dart>=3.6.0. The previous>=3.0.0constraint was inaccurate — the code already usedColor.withValues(Flutter 3.27+) and would fail to compile on older SDKs.
See the README's "Migrating from 1.x" table. Pin
1.1.18to stay on the GetX implementation.Fixed
- Duplicate log ids. Ids came from
DateTime.now().millisecondsSinceEpoch, so two requests fired in the same millisecond shared an id and the first response completed the wrong entry. Ids are now microsecond-based with a counter suffix. - FAB could not open the inspector. Mounting via
MaterialApp.builderputs the FAB above the app's Navigator, so a route-based dialog could not be pushed from it — 1.x only worked around this through GetX's global key. The FAB now presents the inspector directly. - Average duration was skewed by counting only timed requests in the numerator while the empty case returned a double.
- Log cards now carry a
ValueKey, so list updates no longer risk reusing element state across entries.
Added
onShareconfiguration hook.NetworkInspector.maybeService— null instead of throwing.NetworkInspector.reset()— tear down and drop logs, for tests.- A test suite (22 tests); the package previously shipped none.
-
1.1.1828 Mar 2026Release notes
Open source →- README: use
raw.githubusercontent.comURLs for screenshot<img>tags so images load on pub.dev (relativedoc/screenshots/...paths in HTML are not resolved on the package page).
- README: use
-
1.1.1728 Mar 2026Release notes
Open source →- Refreshed
doc/screenshots/*.pngfromreview_before_pub(01–05, including04_error.png).
- Refreshed
-
1.1.1528 Mar 2026Release notes
Open source →- README screenshots normalized to a uniform 738×1600 canvas (from
review_before_puborder: list, POST detail, bodies, forbidden error, 403 headers/response).
- README screenshots normalized to a uniform 738×1600 canvas (from
-
1.1.1428 Mar 2026Release notes
Open source →- Confirmed README screenshots match
doc/screenshots/review_before_pub(unaltered PNGs);review_before_pubis excluded from the published package via.pubignoreto avoid duplicate assets.
- Confirmed README screenshots match
-
1.1.1328 Mar 2026 -
1.1.1228 Mar 2026Release notes
Open source →- README screenshots are unaltered PNG exports (no blur, resize, or overlays); use sanitized demo data in the captures themselves for pub.dev.
-
1.1.1128 Mar 2026Release notes
Open source →- Five README screenshots from your latest captures: solid-fill redaction (no blur), light sharpen, 640px width. Files:
request_list.png,request_details.png,request_bodies.png,request_error.png,request_error_403.png. - Numbered copies for review:
doc/screenshots/review_before_pub/01–05(same pixels as the five files above, before rename).
- Five README screenshots from your latest captures: solid-fill redaction (no blur), light sharpen, 640px width. Files:
-
1.1.928 Mar 2026Release notes
Open source →- README: show screenshots in a compact two-column table (similar layout to other inspector packages on pub.dev).
- Removed the demo video from the README and dropped
doc/demo.mp4from the published package to keep the page and tarball smaller.
-
1.1.828 Mar 2026Release notes
Open source →- Added README screenshots and a demo video (
doc/screenshots/,doc/demo.mp4). - Documented pub.dev-friendly image URLs via
raw.githubusercontent.com.
- Added README screenshots and a demo video (
-
1.1.726 Mar 2026Release notes
Open source →- Simplified
example/app to focus on the two most common integrations: Dio andpackage:http. - Removed GetConnect flow from the live example to reduce onboarding complexity.
- Kept logging flow explicit with
logRequestandlogResponseso developers can copy and adapt quickly.
- Simplified
-
1.1.626 Mar 2026Release notes
Open source →- Improved README with a stronger quick-start section and clearer developer onboarding.
- Added a top-level AI quick prompt for faster integration.
- Added explicit flavor-based setup examples using
NetworkInspector.init(enabled: AppConfig.isDev). - Simplified real-app integration guidance with a framework-agnostic
MaterialAppbuilder pattern.
-
1.1.526 Mar 2026Release notes
Open source →- Publishing prep release for pub.dev.
- Added in-app network inspector dialog with draggable FAB overlay.
- Added GetConnect integration helpers via
onRequestandonResponse. - Added manual logging APIs for other clients:
logRequestandlogResponse. - Added JSON export and log sharing support.
- Added comprehensive README integration guides and an
example/app.