Skip to content
pubscout

alice_dio

1.4.0, released 4 weeks ago by hasoft.pl

Dio interceptor and network logger for Alice network inspector UI

WASM-ready
$ flutter pub add alice_dio
Source repository

What it does

Integrates the Dio HTTP client with the Alice inspector plugin. Allows you to log, inspect, and debug Dio requests and responses inside a native Flutter UI.

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

Use it when

  • You use the Dio package for network requests in Flutter
  • You need a visual in-app tool to inspect and debug HTTP traffic

Skip it when

  • You are not using the Dio HTTP client
  • You do not need a visual network logger in your app

Strengths

  • Simple integration via Dio interceptors
  • Provides a dedicated native Flutter UI for debugging network calls

Weaknesses

  • Tied specifically to the Alice package and Dio
  • Adds overhead and debug tooling dependencies to the codebase

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Add Alice and alice_dio to dependencies, create AliceDioAdapter, add it to Alice and to Dio interceptors.

AliceDioAdapter aliceDioAdapter = AliceDioAdapter();
Alice alice = Alice()..addAdapter(aliceDioAdapter);
Dio dio = Dio()..interceptors.add(aliceDioAdapter);

Alternatives

Packages that do the same job and could replace alice_dio.

  • http

    If you prefer the basic Dart HTTP client instead of Dio.

Works with

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