package_info_plus_module 0.0.1+2
package_info_plus_module: ^0.0.1+2 copied to clipboard
JuneFlow Module for package_info_plus.
package_info_plus_module #
It's a module of package_info_plus.
Installation #
- If the juneflow project doesn't exist, please create it by following this guide.
- open terminal in the juneflow project root directory, enter the following command.
june add package_info_plus_module
Usage #
PackageInfo packageInfo = await PackageInfo.fromPlatform();
String appName = packageInfo.appName;
String packageName = packageInfo.packageName;
String version = packageInfo.version;
String buildNumber = packageInfo.buildNumber;
print("appName: $appName");
print("packageName: $packageName");
print("version: $version");
print("buildNumber: $buildNumber");