Skip to content

Commit

Permalink
Merge pull request #10 from PlugFox/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
PlugFox authored Feb 18, 2021
2 parents f3caace + 89f5b92 commit 77192ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 3.0.0-nullsafety.0 - 2021-02-19
## 3.0.0-nullsafety.1 - 2021-02-19
### Changed
- Non nullable ready

Expand Down
10 changes: 5 additions & 5 deletions lib/src/platform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Platform extends ExtendedHostPlatform with PlatformMethods {
int get numberOfProcessors => _hostPlatform.numberOfProcessors;

@override
late final bool isOperatingSystemKnown;
final bool isOperatingSystemKnown;

@override
bool get isWeb => _hostPlatform.type == HostPlatformType.web;
Expand All @@ -77,16 +77,16 @@ class Platform extends ExtendedHostPlatform with PlatformMethods {
bool get isIO => _hostPlatform.type == HostPlatformType.io;

@override
late final bool isMobile;
final bool isMobile;

@override
late final bool isDesktop;
final bool isDesktop;

@override
late final bool isMaterial;
final bool isMaterial;

@override
late final bool isCupertino;
final bool isCupertino;

@override
bool get isAndroid => operatingSystem == OperatingSystem.android;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: platform_info
description: >
Contains info about current platform
such as Build mode and Operating system
version: 3.0.0-nullsafety.0
version: 3.0.0-nullsafety.1
repository: https://github.com/PlugFox/platform_info/tree/master
issue_tracker: https://github.com/PlugFox/platform_info/issues
homepage: https://github.com/PlugFox/platform_info
Expand Down

1 comment on commit 77192ad

@vercel
Copy link

@vercel vercel bot commented on 77192ad Feb 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.