mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:25:32 -04:00
29 lines
670 B
Dart
29 lines
670 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:immich_mobile/domain/service_locator.dart';
|
|
|
|
void main() {
|
|
// Ensure the bindings are initialized
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
// DI Injection
|
|
ServiceLocator.configureServices();
|
|
|
|
runApp(const MainWidget());
|
|
}
|
|
|
|
class MainWidget extends StatelessWidget {
|
|
const MainWidget({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
|
useMaterial3: true,
|
|
),
|
|
home: const Text('Flutter Demo Home Page'),
|
|
);
|
|
}
|
|
}
|