diff --git a/packages/device_info/device_info_platform_interface/CHANGELOG.md b/packages/device_info/device_info_platform_interface/CHANGELOG.md index 6fadda91b380..8a7eb6c46be3 100644 --- a/packages/device_info/device_info_platform_interface/CHANGELOG.md +++ b/packages/device_info/device_info_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- Documentation typo fixed. + ## 1.0.0 - Initial open-source release. diff --git a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart index 253d6d036123..808b7adf9dc7 100644 --- a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart +++ b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart @@ -22,7 +22,7 @@ export 'model/ios_device_info.dart'; /// platform implementations that `implements` this interface will be broken by newly added /// [DeviceInfoPlatform] methods. abstract class DeviceInfoPlatform extends PlatformInterface { - /// Constructs a UrlLauncherPlatform. + /// Constructs a DeviceInfoPlatform. DeviceInfoPlatform() : super(token: _token); static final Object _token = Object(); @@ -41,14 +41,12 @@ abstract class DeviceInfoPlatform extends PlatformInterface { _instance = instance; } - // Gets the Android device information. - // ignore: public_member_api_docs + /// Gets the Android device information. Future androidInfo() { throw UnimplementedError('androidInfo() has not been implemented.'); } - // Gets the iOS device information. - // ignore: public_member_api_docs + /// Gets the iOS device information. Future iosInfo() { throw UnimplementedError('iosInfo() has not been implemented.'); } diff --git a/packages/device_info/device_info_platform_interface/pubspec.yaml b/packages/device_info/device_info_platform_interface/pubspec.yaml index 3adfb93fa27a..656e5b24c373 100644 --- a/packages/device_info/device_info_platform_interface/pubspec.yaml +++ b/packages/device_info/device_info_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin. homepage: https://github.com/flutter/plugins/tree/master/packages/device_info # 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: