Menu

1 / 2

Flutwire 1.0: a network inspector for Flutter that opens from the notification shade

DEV Community: dart·AS·2 days ago
#oIEKHlIC
#devtodart#devto#dev#call#flutwire
Reading 0:00
15s threshold

When an app misbehaves on a phone, the call that explains it is usually out of reach. The console shows only what a logger was told to print. A proxy needs a certificate on the device and a changed Wi-Fi setting. Every HTTP client in the app has to be wired by hand before it says anything, and when the app is killed the evidence goes with it.

Flutwire is my answer to that. It records the calls an app makes, keeps them on the device and lists the latest ones in the notification shade. Tapping the notification opens the inspector, and each call opens in full: URL, timings, headers, cookies, and the request and response bodies as a JSON tree, indented text, form fields, an image or a hex dump. Version 1.0 is out.

flutter pub add flutwire

Enter fullscreen mode

Exit fullscreen mode

Future < void > main () async { await Flutwire . init (); runApp ( const MyApp ()); }

Enter fullscreen mode

Exit fullscreen mode

That is the whole integration.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.