configs.version library

This library contains configurations related to the version and build channel of the app.

Constants

kAppName → const String
Holds the name of the application. The value is read from the compile-time variable APP_NAME.
String.fromEnvironment("APP_NAME", defaultValue: "LB Planner")
kAppVersionName → const String
Holds the name of the application version. The value is read from the compile-time variable APP_VERSION_NAME.
String.fromEnvironment("APP_VERSION_NAME", defaultValue: "Debug ver.")
kBuildNumber → const int
Holds the build number of the application. The value is read from the compile-time variable BUILD_NUMBER.
int.fromEnvironment("BUILD_NUMBER", defaultValue: 0)
kMajorAppVersion → const int
Holds the major version of the application. The value is read from the compile-time variable MAJOR_APP_VERSION.
int.fromEnvironment("MAJOR_APP_VERSION", defaultValue: 0)
kMinorAppVersion → const int
Holds the minor version of the application. The value is read from the compile-time variable MINOR_APP_VERSION.
int.fromEnvironment("MINOR_APP_VERSION", defaultValue: 0)
kPatchAppVersion → const int
Holds the patch version of the application. The value is read from the compile-time variable PATCH_APP_VERSION.
int.fromEnvironment("PATCH_APP_VERSION", defaultValue: 0)

Properties

kAppVersion Version
The current version of the application.
final
kBuildChannel BuildChannel
Build Channel
final