graphql_inspector 1.0.0 copy "graphql_inspector: ^1.0.0" to clipboard
graphql_inspector: ^1.0.0 copied to clipboard

This package helps to inspect GraphQL requests just like other network inspection packages for REST APIs

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 cURL commands
  • πŸ“‹ Copy/share requests directly from your Flutter UI
  • πŸ’‘ Useful for QA, debugging, and API development

πŸ“Έ Screenshots #

Query View Response View cURL Export
query response curl

πŸš€ Getting Started #

1. Add dependency #

dependencies:
  graphql_inspector: ^1.0.0
0
likes
130
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

This package helps to inspect GraphQL requests just like other network inspection packages for REST APIs

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_html, gql, graphql_flutter, json_annotation

More

Packages that depend on graphql_inspector