blob: ec5a5d0c6ae3c56c5c84ce524d2ae70fb9857a3f (
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();
// MediaKit.ensureInitialized(); //replace with lottie
runApp(DevicePreview(
enabled: false, // Chnage to false to disable device preview
tools: const [
...DevicePreview.defaultTools,
],
builder: (context) => const App(),
));
}
|