harmony_os_version 1.0.1 copy "harmony_os_version: ^1.0.1" to clipboard
harmony_os_version: ^1.0.1 copied to clipboard

PlatformAndroid

用来获取鸿蒙os版本,比如2.0.0,3.0.0等

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add harmony_os_version

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  harmony_os_version: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:harmony_os_version/harmony_os_version.dart';
1
likes
145
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

用来获取鸿蒙os版本,比如2.0.0,3.0.0等

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on harmony_os_version