summaryrefslogtreecommitdiffstats
path: root/lib/core/constants/constants.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-12-14 13:24:42 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-12-14 13:46:12 -0300
commitdda6c8502a3fa1e50654c4cca934b4b846bbca98 (patch)
treefae219109b6fa5155ad8440354324d9522954498 /lib/core/constants/constants.dart
parent71d46d03850653c0229c678de197c6f94fceb477 (diff)
Hybrid animation from env variable
This commit changes central hybrid animation on dashboard screen. For now we can set from env randomHybridAnimation variable. If true animation should be switching randomly. If false just setting proper hybrid mode based on speed and RPM value. Also increase childLocks touch target Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I71f09c63bd1bfeda174f92feafc58019c23d07cb Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/core/constants/constants.dart')
-rw-r--r--lib/core/constants/constants.dart1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/constants/constants.dart b/lib/core/constants/constants.dart
index 5d79b5a..03c1f8a 100644
--- a/lib/core/constants/constants.dart
+++ b/lib/core/constants/constants.dart
@@ -10,6 +10,7 @@ const maxRpm = 8000;
final GlobalKey<ScaffoldState> homeScaffoldKey = GlobalKey();
const debugDisplay = bool.fromEnvironment('DEBUG_DISPLAY');
const disableBkgAnimation = bool.fromEnvironment('DISABLE_BKG_ANIMATION');
+const randomHybridAnimation = bool.fromEnvironment('RANDOM_HYBRID_ANIMATION');