Skip to content

Commit 8c012d7

Browse files
yash1200Egor
authored andcommitted
[device_info_platform_interface] Typo in doc fixed (flutter#3006)
1 parent 7aca7e5 commit 8c012d7

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.1
2+
3+
- Documentation typo fixed.
4+
15
## 1.0.0
26

37
- Initial open-source release.

packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export 'model/ios_device_info.dart';
2222
/// platform implementations that `implements` this interface will be broken by newly added
2323
/// [DeviceInfoPlatform] methods.
2424
abstract class DeviceInfoPlatform extends PlatformInterface {
25-
/// Constructs a UrlLauncherPlatform.
25+
/// Constructs a DeviceInfoPlatform.
2626
DeviceInfoPlatform() : super(token: _token);
2727

2828
static final Object _token = Object();
@@ -41,14 +41,12 @@ abstract class DeviceInfoPlatform extends PlatformInterface {
4141
_instance = instance;
4242
}
4343

44-
// Gets the Android device information.
45-
// ignore: public_member_api_docs
44+
/// Gets the Android device information.
4645
Future<AndroidDeviceInfo> androidInfo() {
4746
throw UnimplementedError('androidInfo() has not been implemented.');
4847
}
4948

50-
// Gets the iOS device information.
51-
// ignore: public_member_api_docs
49+
/// Gets the iOS device information.
5250
Future<IosDeviceInfo> iosInfo() {
5351
throw UnimplementedError('iosInfo() has not been implemented.');
5452
}

packages/device_info/device_info_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 1.0.0
6+
version: 1.0.1
77

88
dependencies:
99
flutter:

0 commit comments

Comments
 (0)