获取PackageName
Future<String> getPackageName() async { PackageInfo packageInfo = await getPackageInfo(); return packageInfo.packageName; }