dio5_log 5.1.1 copy "dio5_log: ^5.1.1" to clipboard
dio5_log: ^5.1.1 copied to clipboard

A plug-in that captures requests and views them within the application, providing functions such as request replication and JSON expansion

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dio5_log

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  dio5_log: ^5.1.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dio5_log/bean/err_options.dart';
import 'package:dio5_log/bean/net_options.dart';
import 'package:dio5_log/bean/req_options.dart';
import 'package:dio5_log/bean/res_options.dart';
import 'package:dio5_log/dio_log.dart';
import 'package:dio5_log/http_log_list_widget.dart';
import 'package:dio5_log/interceptor/diox_log_interceptor.dart';
import 'package:dio5_log/overlay_draggable_button.dart';
import 'package:dio5_log/page/log_error_widget.dart';
import 'package:dio5_log/page/log_request_widget.dart';
import 'package:dio5_log/page/log_response_widget.dart';
import 'package:dio5_log/page/log_widget.dart';
import 'package:dio5_log/theme/style.dart';
import 'package:dio5_log/utils/copy_clipboard.dart';
import 'package:dio5_log/utils/json_utils.dart';
import 'package:dio5_log/utils/log_pool_manager.dart';
import 'package:dio5_log/utils/time_utils.dart';
import 'package:dio5_log/utils/url_utils.dart';
import 'package:dio5_log/widget/json_view.dart';
3
likes
150
points
656
downloads

Publisher

unverified uploader

Weekly Downloads

A plug-in that captures requests and views them within the application, providing functions such as request replication and JSON expansion

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dio, flutter

More

Packages that depend on dio5_log