summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-17 14:11:58 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-19 14:06:17 -0300
commit1b84d8f00f7dcd233feffde55e02c865dcdf53f1 (patch)
tree80a3c168b50fa68dfae913a9382c1c788ce681c1 /lib/main.dart
parentb346b4ac3e97371270e53cfc521eb7696158f8df (diff)
Set environment variables for enabling debugging screen and main animation.
Change-Id: Ia4100f300b7f8507564ef80a1fc56c2352cfd5ce Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/main.dart b/lib/main.dart
index 3b896fc..85c7506 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -4,8 +4,9 @@ import 'export.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
+ const debugDisplay = bool.fromEnvironment('DEBUG_DISPLAY');
runApp(DevicePreview(
- enabled: false,
+ enabled: debugDisplay,
tools: const [
...DevicePreview.defaultTools,
],