chuck_interceptor
3.2.2, released 5 weeks ago by an unverified publisher
An HTTP inspection and debugging tool for Flutter apps.
What it does
Chuck catches and stores HTTP requests and responses, providing a simple built-in UI to view headers, payloads, errors, and statistics. It supports Dio, dart:io HttpClient, and any other HTTP client via a client-agnostic logging API.
AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to inspect and debug HTTP traffic directly inside your Flutter app.
- You want a floating inspector button or shake gesture to view network calls during development.
Skip it when
- You are in a strict production-only environment where network payload storage overhead must be completely avoided (unless disabled).
- You need an external desktop proxy tool like Charles Proxy or Fiddler instead of an in-app viewer.
Strengths
- Supports Dio, HttpClient, and custom/client-agnostic HTTP logging.
- Comes with a floating call counter button and shake-to-open capabilities.
- Provides curl command generation and call search/filtering.
Weaknesses
- Requires passing a navigator key or using app builder to display the UI.
- Stores HTTP request and response history in memory, which needs sizing limits for heavy traffic.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 4
Initialize Chuck, pass the navigator key to MaterialApp, and add the Dio interceptor or use the client-agnostic API.
Chuck chuck = Chuck();
Dio dio = Dio();
dio.interceptors.add(chuck.dioInterceptor);Alternatives
Packages that do the same job and could replace chuck_interceptor.
- flutter_alice
HTTP inspector tool to capture, store, and view requests and responses.
84Compare - dio_request_inspector
A HTTP inspector for Dio, which can intercept and log HTTP requests and responses.
50Compare - fluttersdk_telescope
Passive runtime inspector for Flutter capturing HTTP, logs, exceptions, and DB queries.
73Compare - api_studio
In-app network inspector for Dio, http, and custom requests with redaction, edit & replay, and exports.
70Compare
Works with
Packages commonly used together with chuck_interceptor: ones it builds on, ones built on it, and its own family.
- path_providerchuck_interceptor depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- rxdartchuck_interceptor depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.
- diochuck_interceptor depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- material_uichuck_interceptor depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.