dio_log 1.1.1 copy "dio_log: ^1.1.1" to clipboard
dio_log: ^1.1.1 copied to clipboard

outdated

http requests log of dio .This plugin helps you display log information for requests

example/example.dart

import 'package:dio/dio.dart';
import 'package:dio_log/dio_log.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

main() async {
  var dio = Dio();
  dio.interceptors.add(HttpLogInterceptor());

  ///this is context of widget
  BuildContext context;
  Navigator.of(context).push(
    MaterialPageRoute(
      builder: (context) => HttpLogListWidget(),
    ),
  );
}
59
likes
0
pub points
89%
popularity

Publisher

unverified uploader

http requests log of dio .This plugin helps you display log information for requests

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on dio_log