graphql_inspector
A Flutter package to intercept and inspect GraphQL API requests and responses โ inspired by tools like Chucker for Android and Postman. Ideal for debugging GraphQL requests in development builds.
๐ Folder Structure
graphql_inspector/
โโโ lib/
โ โโโ src/
โ โโโ GraphQLLogScreen.dart
โ โโโ LoggingLink.dart
โโโ test/
โโโ README.md
โโโ pubspec.yaml
โโโ LICENSE
โโโ CHANGELOG.md
โโโ ...
โจ Features
- ๐ฆ Logs every GraphQL query, mutation, and variables
- ๐ฏ Displays request time and response neatly
- ๐งพ Pretty JSON viewer with syntax highlighting
- ๐ Export GraphQL requests as
cURLcommands - ๐ Copy/share requests directly from your Flutter UI
- ๐ก Useful for QA, debugging, and API development
๐ธ Screenshots
| Query View | Response View | cURL Export |
|---|---|---|
![]() |
![]() |
![]() |
๐ Getting Started
1. Add dependency
dependencies:
graphql_inspector: ^1.0.0


