16 lines
340 B
Dart
16 lines
340 B
Dart
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)';
|
|
}
|