aboutsummaryrefslogtreecommitdiffstats
path: root/lib/core
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-20 10:05:49 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-20 10:05:54 -0300
commitae9ad191316ea506633c19975a7eb2861e8d17ec (patch)
tree06aacd5b86909c3e88f3cbbd1c27fd8a69bf2dea /lib/core
parent1b84d8f00f7dcd233feffde55e02c865dcdf53f1 (diff)
Refactor: env variables.
Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I95f23d4f475aa7db82b6d34f2fc62e9f10092a75 Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/constants/constants.dart4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/core/constants/constants.dart b/lib/core/constants/constants.dart
index 902af56..5d79b5a 100644
--- a/lib/core/constants/constants.dart
+++ b/lib/core/constants/constants.dart
@@ -8,4 +8,8 @@ const maxFuelLevel = 100.0;
const maxSpeed = 240.0;
const maxRpm = 8000;
final GlobalKey<ScaffoldState> homeScaffoldKey = GlobalKey();
+const debugDisplay = bool.fromEnvironment('DEBUG_DISPLAY');
+const disableBkgAnimation = bool.fromEnvironment('DISABLE_BKG_ANIMATION');
+
+