dio_log: ^1.0.2 copied to clipboard
http requests log of dio 。This plugin helps you display log information for requests
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
http requests log of dio
Add dependency #
dio_log : ^lastest_version
set interceptor of dio #
open log of dio list #
Navigator.of(context).push( MaterialPageRoute( builder: (context) => HttpLogListWidget(), ), );