Skip to content
pubscout

alice_lightweight

3.11.0, released 2 weeks ago by dash-kit.blogspot.com

A lightweight HTTP inspector for Flutter to view network requests and responses.

$ flutter pub add alice_lightweight
Source repository

What it does

Alice Lightweight captures and inspects HTTP network calls made by your app using Dio or HTTP. It provides a dedicated UI to view request headers, bodies, responses, and errors, and supports sharing requests as cURL commands.

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

Use it when

  • You need to debug network traffic inside a Flutter application using Dio or http.
  • You want a lighter version of Alice with fewer native dependencies.

Skip it when

  • You need full-featured native notifications or heavy file saving capabilities that were removed from this lightweight version.
  • Your app does not use network requests.

Strengths

  • Removes several heavy dependencies compared to the original Alice package.
  • Provides an easy-to-use visual interface for inspecting HTTP/HTTPS traffic.
  • Supports quick sharing of cURL commands for debugging.

Weaknesses

  • Fewer supported network libraries and features compared to the full Alice package.
  • Relies on community maintenance and dependency updates.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
5

Initialize Alice in your app and pass its navigator key or interceptor to your Dio instance.

Alice alice = Alice();
// Pass alice.getDioInterceptor() to your Dio instance

Alternatives

Packages that do the same job and could replace alice_lightweight.

  • flutter_alice

    HTTP inspector tool to capture, store, and view requests and responses.

  • pubviz

    A tool to visualize package dependencies and version constraints in your Dart project.

Works with

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