Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutterplugin/dio_log
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: yfming93/dio_log
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 3 commits
  • 5 files changed
  • 2 contributors

Commits on May 8, 2023

  1. 1、update dio 5.0.0 2、fix DioLogInterceptor

    1、update dio 5.0.0
    2、fix DioLogInterceptor
    yfming93 committed May 8, 2023
    Copy the full SHA
    3e66fae View commit details

Commits on Jul 31, 2023

  1. Copy the full SHA
    1ebab54 View commit details

Commits on May 28, 2024

  1. Copy the full SHA
    6b6a533 View commit details
Showing with 10 additions and 7 deletions.
  1. +1 −1 .dart_tool/version
  2. +2 −0 android/local.properties
  3. +5 −5 lib/http_log_list_widget.dart
  4. +1 −0 lib/interceptor/dio_log_interceptor.dart
  5. +1 −1 pubspec.yaml
2 changes: 1 addition & 1 deletion .dart_tool/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1
3.7.12
2 changes: 2 additions & 0 deletions android/local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sdk.dir=/Users/mingo/Library/Android/sdk
flutter.sdk=/Users/mingo/Downloads/flutter
10 changes: 5 additions & 5 deletions lib/http_log_list_widget.dart
Original file line number Diff line number Diff line change
@@ -44,8 +44,8 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {
child: Align(
child: Text(
debugBtnIsShow() ? 'close overlay' : 'open overlay',
style: theme.textTheme.caption!
.copyWith(fontWeight: FontWeight.bold),
style: theme.textTheme.headlineLarge
?.copyWith(fontWeight: FontWeight.bold),
),
),
),
@@ -60,8 +60,8 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {
child: Align(
child: Text(
'clear',
style: theme.textTheme.caption!
.copyWith(fontWeight: FontWeight.bold),
style: theme.textTheme.headlineLarge
?.copyWith(fontWeight: FontWeight.bold),
),
),
),
@@ -93,7 +93,7 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {

Color? textColor = LogPoolManager.getInstance().isError(item)
? Colors.red
: Theme.of(context).textTheme.bodyText1!.color;
: Theme.of(context).textTheme.bodyLarge!.color;
return Card(
margin: EdgeInsets.all(8),
elevation: 6,
1 change: 1 addition & 0 deletions lib/interceptor/dio_log_interceptor.dart
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import 'package:dio_log/bean/err_options.dart';
import 'package:dio_log/bean/net_options.dart';
import 'package:dio_log/bean/req_options.dart';
import 'package:dio_log/bean/res_options.dart';
// import 'package:flutter/material.dart' show debugPrint;
import 'dart:developer';
import '../dio_log.dart';
import 'package:flutter/foundation.dart';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
dio: ^4.0.0
dio: any

dev_dependencies:
flutter_test: