27 lines
738 B
Dart
27 lines
738 B
Dart
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(),
|
|
);
|
|
}
|
|
}
|