Skip to content

Commit 683dcb8

Browse files
authored
[dart][dart-dio] Raise min Dart to 2.7.0 & update built_value constraint (#8684)
* raise min Dart version to 2.7.0 / Flutter 1.12.0 * update constraints for built_value to support new major versions with null safety
1 parent 608242b commit 683dcb8

98 files changed

Lines changed: 110 additions & 110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

modules/openapi-generator/src/main/resources/dart-dio/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
1919

2020
## Requirements
2121

22-
Dart 1.20.0 or later OR Flutter 0.0.20 or later
22+
Dart 2.7.0 or later OR Flutter 1.12 or later
2323

2424
## Installation & Usage
2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import

modules/openapi-generator/src/main/resources/dart-dio/pubspec.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: {{pubName}}
22
version: {{pubVersion}}
33
description: {{pubDescription}}
44
environment:
5-
sdk: ">=2.6.0 <3.0.0"
5+
sdk: ">=2.7.0 <3.0.0"
66
dependencies:
77
dio: ^3.0.9
8-
built_value: ^7.1.0
9-
built_collection: ^4.3.2
8+
built_value: ">=7.1.0 <9.0.0"
9+
built_collection: ">=4.3.2 <6.0.0"
1010
{{#timeMachine}}
1111
time_machine: ^0.9.12
1212
{{/timeMachine}}
1313
dev_dependencies:
14-
built_value_generator: ^7.1.0
14+
built_value_generator: ">=7.1.0 <9.0.0"
1515
build_runner: ^1.7.1
1616
test: ^1.3.0
1717

samples/client/petstore/dart-dio/petstore_client_lib/README.md

Lines changed: 1 addition & 1 deletion

samples/client/petstore/dart-dio/petstore_client_lib/lib/api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

samples/client/petstore/dart-dio/petstore_client_lib/lib/api/pet_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

samples/client/petstore/dart-dio/petstore_client_lib/lib/api/store_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

samples/client/petstore/dart-dio/petstore_client_lib/lib/api/user_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

samples/client/petstore/dart-dio/petstore_client_lib/lib/api_util.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

samples/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AUTO-GENERATED FILE, DO NOT MODIFY!
33
//
4-
// @dart=2.6
4+
// @dart=2.7
55

66
// ignore_for_file: unused_import
77

0 commit comments

Comments
 (0)