package_info_plus_module 1.0.2
package_info_plus_module: ^1.0.2 copied to clipboard
this module is a part of the juneflow project, it provides a package_info_plus module for flutter project.
package_info_plus_module #
this module is a part of the juneflow project, it provides a package_info_plus module for flutter project.
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");