kAppName top-level constant

String const kAppName

Holds the name of the application. The value is read from the compile-time variable APP_NAME.

Defaults to LB Planner 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=APP_NAME=`VALUE`

Implementation

const kAppName = String.fromEnvironment("APP_NAME", defaultValue: "LB Planner");