getPackageInfo static method
获取包信息
Implementation
static Future<PackageInfo> getPackageInfo() async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
return packageInfo;
}
获取包信息
static Future<PackageInfo> getPackageInfo() async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
return packageInfo;
}