import 'package:device_preview/device_preview.dart'; import 'export.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); runApp(DevicePreview( enabled: false, tools: const [ ...DevicePreview.defaultTools, ], builder: (context) => const App(), )); }