http_inspect_view 1.2.2
http_inspect_view: ^1.2.2 copied to clipboard
A debug-only HTTP inspector for Flutter apps. Intercepts every Dio request/response, shows OS notifications per request, and lets you shake the device to open a full log viewer — with no widget wrappe [...]
1.2.2 #
New features #
- Bottom sheet presentation — pass
presentation: HttpInspectorPresentation.bottomSheettoHttpInspectorInterceptororHttpInspectorto open the inspector as a draggable modal bottom sheet instead of a fullscreen route. Useful when this is added to a Flutter module embedded in a native app, where a fullscreen route pushed on the module's own navigator may not be visible over the host app's native screens. - Draggable FAB trigger — set
showFab: trueonHttpInspectorInterceptor(orHttpInspector) to overlay a small draggable button on top of the app. Drag it anywhere on screen; tap to open the inspector. Gives you a manual, always-reachable way to open the inspector when notification taps aren't reliable (e.g. Flutter modules).
1.2.1 #
Bug fixes #
- AppBar title overflow on Android — the log-count badge no longer causes a render overflow on devices where the title area is narrower than on iOS. The title now uses
mainAxisSize: MainAxisSize.minand ellipsizes gracefully under pressure.
1.2.0 #
New features #
- Swipe-to-share — swipe any log tile left to reveal three instant share buttons: cURL (copies a ready-to-paste curl command), Text (full request + response as human-readable text), and More (opens the full share sheet with all options). Tap the tile while open to dismiss.
- Long-press URL popup — long-press any tile to see the full URL in a scrollable dialog with a one-tap Copy button.
1.1.0 #
New features #
- Try Request (in-app API tester) — tap the ⚗️ button on any detail page to open an editable copy of the request. Change the method, URL, headers, and body, then hit Send. The response is shown inline and the request is automatically logged to the inspector list as a real entry (pending → resolved).
- Search in Request & Response tabs — tap the 🔍 icon in the AppBar to reveal an animated search bar. Type to highlight and jump between matches in both headers and body. Navigate with ↑ / ↓ arrows. Tap 🔍✕ or switch to the Overview tab to dismiss.
Improvements #
- Detail page AppBar — method badge, status code badge (color-coded), and pending spinner now appear inline in the title. Back button uses the rounded iOS-style chevron.
- List page — live log count badge next to the title; redesigned tiles with a colored left accent bar (green / amber / red / grey) matching the HTTP status; pending requests show a spinner instead of a status code; chevron indicator on each tile.
- Empty state — contextual message changes based on whether a search/filter is active.
- Search bar — added a clear (✕) button and a focused blue border to the URL search field.
- Filter chips — method filter chips (ALL · GET · POST · PUT · DELETE · PATCH) are now correctly center-aligned.
- Section cards — detail page sections use a bordered card with an uppercase label header and a divider, consistent with Material 3.
1.0.0 #
- First release.