{"id":32288136,"url":"https://github.com/paco89lol/flutter_http_debug","last_synced_at":"2026-02-19T09:35:45.464Z","repository":{"id":283142049,"uuid":"950401021","full_name":"paco89lol/flutter_http_debug","owner":"paco89lol","description":"Flutter inspector / debugging tool","archived":false,"fork":false,"pushed_at":"2025-03-19T11:25:06.000Z","size":316,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T17:11:29.042Z","etag":null,"topics":["debugging-tools","dio","flutter","https","network-inspector"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paco89lol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T05:23:09.000Z","updated_at":"2025-03-20T22:52:18.000Z","dependencies_parsed_at":"2025-03-18T19:55:52.646Z","dependency_job_id":null,"html_url":"https://github.com/paco89lol/flutter_http_debug","commit_stats":null,"previous_names":["paco89lol/flutter_http_debug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paco89lol/flutter_http_debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paco89lol%2Fflutter_http_debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paco89lol%2Fflutter_http_debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paco89lol%2Fflutter_http_debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paco89lol%2Fflutter_http_debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paco89lol","download_url":"https://codeload.github.com/paco89lol/flutter_http_debug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paco89lol%2Fflutter_http_debug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging-tools","dio","flutter","https","network-inspector"],"created_at":"2025-10-23T02:24:36.981Z","updated_at":"2026-02-19T09:35:45.458Z","avatar_url":"https://github.com/paco89lol.png","language":"Dart","readme":"The http_debug library simplifies debugging HTTP requests and responses in Flutter applications. It provides a floating debug button `HttpDebugFloatingButton` that overlays your app's UI, offering real-time access to HTTP traffic. With this tool, you can inspect and analyze requests, headers, payloads, and responses directly within your app, without relying on external tools like Postman or browser developer tools.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/da7eec6f-e5d0-4259-8a1a-b42acc99fbba\" width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/42dd368d-549f-49e6-9a91-f1633a83eb59\" width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/9f411f38-9d2b-480d-83b1-ce693087ab60\" width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/07b494b9-2c99-4548-970e-e4c40adb0e42\" width=\"250px\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/a7642bbe-2a91-4798-8a04-88c4ed4778dc\" width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cimg src=\"https://github.com/user-attachments/assets/5b3ea3f5-3c75-4418-8bb5-75b2c437b85c\" width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cdiv width=\"250px\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n        \u003cdiv width=\"250px\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\nhttps://github.com/user-attachments/assets/64818d4f-31c6-4b19-902e-7c95dce4127c\n\n\n\n\n# Get Started\nadd dependency\n```yaml\ndependencies:\n  http_debug: ^1.0.2\n```\n\n# Initialize\nIn the `MaterialApp` widget, use the `builder` parameter to wrap your app's widget tree with the `HttpDebugFloatingButton`, ensuring it is accessible globally throughout your app.\n\n```dart\nvoid main() {\n  runApp(const MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  const MyApp({super.key});\n\n  // This widget is the root of your application.\n  @override\n  Widget build(BuildContext context) {\n\n    return MaterialApp(\n        routes: {\n          '/': (context) =\u003e HomePage(), // Default route\n          '/sendRequest': (context) =\u003e SendRequestDetailPage(),\n        },\n        initialRoute: '/', // Set the initial route\n        theme: ThemeData(\n          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),\n        ),\n        debugShowCheckedModeBanner: false,\n        builder: (context, child) {\n          return Stack(\n            children: [\n              child!,\n              HttpDebugFloatingButton(),\n            ],\n          );\n        }\n    );\n  }\n}\n```\n\n\n# Dio Users\n1. Add interceptor class `DioInterceptor` for dio client.\n```dart\n\nDio get dioClient{\n  final client = Dio()..interceptors.add(\n    DioInterceptor(),\n  );\n  return client;\n}\n\n/// Use dio regularly\ndio.get(\n  'https://api.ipify.og?format=json',\n  options: Options(headers: {\"abc\": \"abc\"}),\n);\n\n```\n\n# Http Users\n1. Initialize `Client` to client class, then use `httpClient` on the `InterceptedHttpClient` constructor\n```dart\nHttpInterceptor get httpClient {\n  InterceptedHttpClient(\n    httpsDebugController: HttpsDebug.instance,\n    httpClient: http.Client(),\n  );\n}\n\n/// Use http client regularly\nawait client.get(\n  Uri.parse('https://api.ipify.org?format=json'),\n  headers: {\"abc\": \"abc\"},\n);\n```\n\n# Acessing the UI\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaco89lol%2Fflutter_http_debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaco89lol%2Fflutter_http_debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaco89lol%2Fflutter_http_debug/lists"}