first commit
This commit is contained in:
26
lib/main.dart
Normal file
26
lib/main.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:photobooth_mobile_app/core/image/image_cleanup_service.dart';
|
||||
import 'package:photobooth_mobile_app/modules/splash/splash_screen.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await cleanTempOnStart();
|
||||
runApp(PhotoFrameApp());
|
||||
}
|
||||
|
||||
class PhotoFrameApp extends StatelessWidget {
|
||||
const PhotoFrameApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
title: 'Photo Frame A5',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.deepOrange,
|
||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
),
|
||||
home: const SplashScreen(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user