kMinorAppVersion top-level constant
Holds the minor version of the application.
The value is read from the compile-time variable MINOR_APP_VERSION
.
Defaults to 0
if the compile-time variable is not set.
In order to set the variable use --dart-define
when building the app:
flutter build [os] --dart-define=MINOR_APP_VERSION=`VALUE`
Implementation
const kMinorAppVersion =
int.fromEnvironment("MINOR_APP_VERSION", defaultValue: 0);