flutter_platform_utils 1.0.0 flutter_platform_utils: ^1.0.0 copied to clipboard
A utility to check the platform for ohos
flutter_platform_utils #
如果您的库支持 OpenHarmony
平台,并且有 Platform.isOhos
的判断,那么建议换成 PlatformUtils.isOhos
避免对其他非鸿蒙用户在非鸿蒙分支编译的影响。
If your library supports the OpenHarmony
platform and includes the Platform.isOhos
judgment, it is recommended to switch to PlatformUtils.isOhos
to avoid impacting compilation for non-OpenHarmony users on non-OpenHarmony branches.