Skip to content

Commit 24a12a4

Browse files
Enable prefer_mixin and bump plugin_platform_interface to 2.1.7 (#5793)
Follow-up to #5717 (comment). --------- Co-authored-by: Tarrin Neal <[email protected]>
1 parent b9b6d38 commit 24a12a4

File tree

70 files changed

+180
-81
lines changed

Some content is hidden

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

70 files changed

+180
-81
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ linter:
164164
- prefer_is_not_empty
165165
- prefer_is_not_operator
166166
- prefer_iterable_whereType
167-
# - prefer_mixin # DIFFERENT FROM FLUTTER/FLUTTER: enable when v2.1.7 of plugin_platform_interface is the oldest supported version (which makes MockPlatformInterfaceMixin a mixin class)
167+
- prefer_mixin
168168
# - prefer_null_aware_method_calls # "call()" is confusing to people new to the language since it's not documented anywhere
169169
- prefer_null_aware_operators
170170
- prefer_relative_imports

packages/camera/camera/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.5+9
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 0.10.5+8
26

37
* Fixes new lint warnings.

packages/camera/camera/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Flutter plugin for controlling the camera. Supports previewing
44
Dart.
55
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
66
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
7-
version: 0.10.5+8
7+
version: 0.10.5+9
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -33,7 +33,7 @@ dev_dependencies:
3333
flutter_test:
3434
sdk: flutter
3535
mockito: 5.4.4
36-
plugin_platform_interface: ^2.0.0
36+
plugin_platform_interface: ^2.1.7
3737

3838
topics:
3939
- camera

packages/camera/camera_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.7.2
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.7.1
26

37
* Fixes new lint warnings.

packages/camera/camera_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.7.1
7+
version: 2.7.2
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -14,7 +14,7 @@ dependencies:
1414
cross_file: ^0.3.1
1515
flutter:
1616
sdk: flutter
17-
plugin_platform_interface: ^2.1.0
17+
plugin_platform_interface: ^2.1.7
1818
stream_transform: ^2.0.0
1919

2020
dev_dependencies:

packages/file_selector/file_selector/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## NEXT
1+
## 1.0.2
22

3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
34
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
45

56
## 1.0.1

packages/file_selector/file_selector/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for opening and saving files, or selecting
33
directories, using native file selection UI.
44
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
6-
version: 1.0.1
6+
version: 1.0.2
77

88
environment:
99
sdk: ">=3.0.0 <4.0.0"
@@ -39,7 +39,7 @@ dependencies:
3939
dev_dependencies:
4040
flutter_test:
4141
sdk: flutter
42-
plugin_platform_interface: ^2.0.0
42+
plugin_platform_interface: ^2.1.7
4343
test: ^1.16.3
4444

4545
topics:

packages/file_selector/file_selector_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.0+6
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 0.5.0+5
26

37
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

packages/file_selector/file_selector_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: file_selector_android
22
description: Android implementation of the file_selector package.
33
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
5-
version: 0.5.0+5
5+
version: 0.5.0+6
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"
@@ -21,7 +21,7 @@ dependencies:
2121
file_selector_platform_interface: ^2.5.0
2222
flutter:
2323
sdk: flutter
24-
plugin_platform_interface: ^2.0.2
24+
plugin_platform_interface: ^2.1.7
2525

2626
dev_dependencies:
2727
build_runner: ^2.1.4

packages/file_selector/file_selector_platform_interface/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## NEXT
1+
## 2.6.2
22

3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
34
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
45

56
## 2.6.1

packages/file_selector/file_selector_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/file_selector
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.6.1
7+
version: 2.6.2
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -15,7 +15,7 @@ dependencies:
1515
flutter:
1616
sdk: flutter
1717
http: ">=0.13.0 <2.0.0"
18-
plugin_platform_interface: ^2.1.0
18+
plugin_platform_interface: ^2.1.7
1919

2020
dev_dependencies:
2121
flutter_test:

packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.5.2
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.5.1
26

37
* Fixes new lint warnings.

packages/google_maps_flutter/google_maps_flutter/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
5-
version: 2.5.1
5+
version: 2.5.2
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"
@@ -29,7 +29,7 @@ dependencies:
2929
dev_dependencies:
3030
flutter_test:
3131
sdk: flutter
32-
plugin_platform_interface: ^2.0.0
32+
plugin_platform_interface: ^2.1.7
3333
stream_transform: ^2.0.0
3434

3535
topics:

packages/google_maps_flutter/google_maps_flutter_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.6.2
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.6.1
26

37
* Fixes new lint warnings.

packages/google_maps_flutter/google_maps_flutter_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter_android
22
description: Android implementation of the google_maps_flutter plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
5-
version: 2.6.1
5+
version: 2.6.2
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"
@@ -28,7 +28,7 @@ dev_dependencies:
2828
async: ^2.5.0
2929
flutter_test:
3030
sdk: flutter
31-
plugin_platform_interface: ^2.0.0
31+
plugin_platform_interface: ^2.1.7
3232

3333
topics:
3434
- google-maps

packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.3.5
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.3.4
26

37
* Fixes new lint warnings.

packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter_ios
22
description: iOS implementation of the google_maps_flutter plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
5-
version: 2.3.4
5+
version: 2.3.5
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"
@@ -26,7 +26,7 @@ dev_dependencies:
2626
async: ^2.5.0
2727
flutter_test:
2828
sdk: flutter
29-
plugin_platform_interface: ^2.0.0
29+
plugin_platform_interface: ^2.1.7
3030

3131
topics:
3232
- google-maps

packages/google_maps_flutter/google_maps_flutter_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.4.3
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.4.2
26

37
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_maps_f
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.4.2
7+
version: 2.4.3
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -14,7 +14,7 @@ dependencies:
1414
collection: ^1.15.0
1515
flutter:
1616
sdk: flutter
17-
plugin_platform_interface: ^2.1.0
17+
plugin_platform_interface: ^2.1.7
1818
stream_transform: ^2.0.0
1919

2020
dev_dependencies:

packages/google_sign_in/google_sign_in_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.4.5
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.4.4
26

37
* Updates `clearAuthCache` override to match base class declaration.

packages/google_sign_in/google_sign_in_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_sign_i
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.4.4
7+
version: 2.4.5
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
plugin_platform_interface: ^2.1.0
16+
plugin_platform_interface: ^2.1.7
1717

1818
dev_dependencies:
1919
flutter_test:

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.7
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 1.0.6
26

37
* Fixes new lint warnings.

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6-
version: 1.0.6
6+
version: 1.0.7
77

88
environment:
99
sdk: ">=3.0.0 <4.0.0"
@@ -42,7 +42,7 @@ dev_dependencies:
4242
flutter_test:
4343
sdk: flutter
4444
mockito: 5.4.4
45-
plugin_platform_interface: ^2.0.0
45+
plugin_platform_interface: ^2.1.7
4646

4747
topics:
4848
- camera

packages/image_picker/image_picker_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.9.3
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.9.2
26

37
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

packages/image_picker/image_picker_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/image_picker/
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.9.2
7+
version: 2.9.3
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -15,7 +15,7 @@ dependencies:
1515
flutter:
1616
sdk: flutter
1717
http: ">=0.13.0 <2.0.0"
18-
plugin_platform_interface: ^2.1.0
18+
plugin_platform_interface: ^2.1.7
1919

2020
dev_dependencies:
2121
flutter_test:

packages/in_app_purchase/in_app_purchase/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.13
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 3.1.12
26

37
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

packages/in_app_purchase/in_app_purchase/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: in_app_purchase
22
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
33
repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
5-
version: 3.1.12
5+
version: 3.1.13
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"
@@ -30,7 +30,7 @@ dev_dependencies:
3030
sdk: flutter
3131
integration_test:
3232
sdk: flutter
33-
plugin_platform_interface: ^2.0.0
33+
plugin_platform_interface: ^2.1.7
3434
test: ^1.16.0
3535

3636
topics:

packages/in_app_purchase/in_app_purchase_platform_interface/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## NEXT
1+
## 1.3.7
22

3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
34
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
45

56
## 1.3.6

packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/in_app_purcha
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 1.3.6
7+
version: 1.3.7
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
plugin_platform_interface: ^2.1.0
16+
plugin_platform_interface: ^2.1.7
1717

1818
dev_dependencies:
1919
flutter_test:

packages/local_auth/local_auth/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.8
2+
3+
* Updates minimum required plugin_platform_interface version to 2.1.7.
4+
15
## 2.1.7
26

37
* Adds pub topics to package metadata.

packages/local_auth/local_auth/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for Android and iOS devices to allow local
33
authentication via fingerprint, touch ID, face ID, passcode, pin, or pattern.
44
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
6-
version: 2.1.7
6+
version: 2.1.8
77

88
environment:
99
sdk: ">=3.0.0 <4.0.0"
@@ -33,7 +33,7 @@ dev_dependencies:
3333
integration_test:
3434
sdk: flutter
3535
mockito: 5.4.4
36-
plugin_platform_interface: ^2.1.2
36+
plugin_platform_interface: ^2.1.7
3737

3838
topics:
3939
- authentication

0 commit comments

Comments
 (0)