Last updated:
0 purchases
package info plus module
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
copied to clipboard
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");
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.