aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.dart
blob: 85c75062193a99060478a27c9aa0ba425bbb809d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import 'package:device_preview/device_preview.dart';

import 'export.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  const debugDisplay = bool.fromEnvironment('DEBUG_DISPLAY');
  runApp(DevicePreview(
    enabled: debugDisplay,
    tools: const [
      ...DevicePreview.defaultTools,
    ],
    builder: (context) => const App(),
  ));
}