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: tongzhou-j/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.
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jun 5, 2024

  1. support dio 5.4.0

    tong.zhou committed Jun 5, 2024
    Copy the full SHA
    994a27d View commit details
Showing with 7 additions and 7 deletions.
  1. +3 −3 example/lib/home_page.dart
  2. +2 −2 example/pubspec.yaml
  3. +2 −2 pubspec.yaml
6 changes: 3 additions & 3 deletions example/lib/home_page.dart
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ import 'package:flutter/material.dart';
import 'http_utils.dart';

class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
MyHomePage({Key? key, this.title}) : super(key: key);

final String title;
final String? title;

@override
_MyHomePageState createState() => _MyHomePageState();
@@ -33,7 +33,7 @@ class _MyHomePageState extends State<MyHomePage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
title: Text(widget.title??""),
),
body: Center(
child: Column(
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ description: example of dio log
version: 1.0.0+1

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: '>=2.18.0-149.0.dev <3.0.0'

dependencies:
flutter:
@@ -27,7 +27,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.1
dio: ^4.0.0
dio: ^5.4.3
# dio_log: 2.0.3
dio_log:
path: ../../dio_log
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@ version: 2.0.4
homepage: https://github.com/flutterplugin/dio_log

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.18.0-149.0.dev <3.0.0'

dependencies:
flutter:
sdk: flutter
dio: ^4.0.0
dio: ^5.4.3

dev_dependencies:
flutter_test: