Version of app integration
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class AppVersion {
|
||||
const AppVersion._();
|
||||
|
||||
static const String version = String.fromEnvironment(
|
||||
'APP_VERSION',
|
||||
defaultValue: '1.1.0',
|
||||
);
|
||||
|
||||
static const String buildNumber = String.fromEnvironment(
|
||||
'APP_BUILD_NUMBER',
|
||||
defaultValue: '2',
|
||||
);
|
||||
|
||||
static const String display = 'Version $version (Build $buildNumber)';
|
||||
}
|
||||
Reference in New Issue
Block a user