Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[connectivity_platform_interface] Fix README #2519

Merged
merged 2 commits into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

* Fix README.md link.

## 1.0.0

* Initial release.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ over breaking changes for this package.
See https://flutter.dev/go/platform-interface-breaking-changes for a discussion
on why a less-clean interface is preferable to a breaking change.

[1]: ../connectivity
[1]: ../
[2]: lib/connectivity_platform_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ abstract class ConnectivityPlatform extends PlatformInterface {

/// Platform-specific plugins should set this with their own platform-specific
/// class that extends [ConnectivityPlatform] when they register themselves.
// TODO(amirh): Extract common platform interface logic.
// https://github.com/flutter/flutter/issues/43368
static set instance(ConnectivityPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A common platform interface for the connectivity plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 1.0.0
version: 1.0.1

dependencies:
flutter:
Expand Down