https://github.com/fluttercandies/harmony_os_version
https://github.com/fluttercandies/harmony_os_version
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fluttercandies/harmony_os_version
- Owner: fluttercandies
- License: mit
- Created: 2023-07-11T02:50:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T10:06:46.000Z (almost 2 years ago)
- Last Synced: 2026-05-27T19:48:18.584Z (16 days ago)
- Language: Dart
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# harmony_os_version
[](https://pub.dartlang.org/packages/harmony_os_version)
[](https://choosealicense.com/licenses/mit/)
We use the `harmony_os_version` plugin to get harmony os version.
## Usage
To use this plugin, add `harmony_os_version` as a dependency in your pubspec.yaml file. For example:
```yaml
dependencies:
harmony_os_version: ^1.0.0
```
## Example
``` dart
_xxx() async {
String? osVersion = HarmonyOsVersion().osVersion();
print(osVersion);
}
```