Skip to content
pubscout

chili_debug_view

2.0.0, released 11 days ago by chililabs.io

Flutter debug view to monitor network logs, response times and share logs.

Uses material_ui
$ flutter pub add chili_debug_view
Source repository

What it does

Collects, views, and monitors network logs directly inside a Flutter app. It provides a visual debug interface and integrates with Dio to track requests and responses.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want QA engineers and project managers to easily inspect network traffic inside the app.
  • Your networking layer is built using the Dio package.

Skip it when

  • Your network requests do not go through the Dio library.
  • You are using a Flutter version older than 3.47.0 (unless using version 1.4.x).

Strengths

  • Streamlines testing and debugging workflow for QA and PMs.
  • Allows sharing of network logs outside of the app.
  • Includes proxy address support.

Weaknesses

  • Strictly depends on Dio for network logging.
  • Requires a high minimum Flutter version (3.47.0+).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
5

Wrap your app with the DebugView widget providing a navigatorKey and add the NetworkLoggerInterceptor to your Dio instance.

import 'package:chili_debug_view/chili_debug_view.dart';

final rootKey = GlobalKey<NavigatorState>();

DebugView(
  navigatorKey: rootKey,
  showDebugViewButton: true,
  app: app,
  onProxySaved: (proxyUrl) { },
);

dio.interceptors.add(NetworkLoggerInterceptor());

Alternatives

Packages that do the same job and could replace chili_debug_view.

  • pretty_dio_logger

    If you prefer logging network requests directly to the console instead of an in-app UI view.

  • talker

    If you need a comprehensive logging and debugging tool that covers more than just network requests.

Works with

Packages commonly used together with chili_debug_view: ones it builds on, ones built on it, and its own family.