Skip to content

Commit a16411b

Browse files
Remove Dart stubs from macOS plugins (flutter#3491)
When these federated plugins were created, plugins had to have at least one Dart file to avoid issues with the analyzer, so were created with a stub file since all the code is native. The analyzer no longer has this limitation, so the stub is no longer necesssary.
1 parent 04b0b4b commit a16411b

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

packages/connectivity/connectivity_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0-nullsafety.1
2+
3+
* Remove placeholder Dart file.
4+
15
## 0.2.0-nullsafety
26

37
* Update Dart SDK constraint.

packages/connectivity/connectivity_macos/lib/connectivity_macos.dart

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/connectivity/connectivity_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: macOS implementation of the connectivity plugin.
33
# 0.1.y+z is compatible with 1.0.0, if you land a breaking change bump
44
# the version to 2.0.0.
55
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
6-
version: 0.2.0-nullsafety
6+
version: 0.2.0-nullsafety.1
77
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos
88

99
flutter:

packages/path_provider/path_provider_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.4+9
2+
3+
* Remove placeholder Dart file.
4+
15
## 0.0.4+8
26

37
* Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets.

packages/path_provider/path_provider_macos/lib/path_provider_macos.dart

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/path_provider/path_provider_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: macOS implementation of the path_provider plugin
33
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
44
# the version to 2.0.0.
55
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
6-
version: 0.0.4+8
6+
version: 0.0.4+9
77
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos
88

99
flutter:

0 commit comments

Comments
 (0)