system/device_info_util library
Classes
- DeviceInfoUtils
- 设备信息读取工具(单例)。
Properties
- deviceInfo → DeviceInfoUtils
-
- @Author: chuxiong
- @Created at: 10-06-2025 17:40
- @Email:
- description 设备信息工具(基于
device_info_plus)。app 启动调用init后, 通过osVersion/deviceType/androidSdkInt/serialNumber等 getter 读取缓存值;Windows 平台可调用winUniqueIdentifier取机器码。 依赖:device_info_plus(平台插件——测试需打桩)、crypto(纯 Dart)。 全局 DeviceInfoUtils 单例。final