zeking_device_info 0.0.2 zeking_device_info: ^0.0.2 copied to clipboard
获取设备信息(手机名、系统名、系统版本、是否是真机、横向分辨率、竖向分辨率、型号、尺寸、设备唯一码)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add zeking_device_info
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
zeking_device_info: ^0.0.2
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:zeking_device_info/zeking_device_info.dart';