summaryrefslogtreecommitdiff
path: root/lib/main.dart
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-08-16 11:19:49 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2022-08-16 11:19:49 +0200
commit00bf8823311c067f5b0e9a785a5048e6bd8ad122 (patch)
treeba2d727345038b7da2ea628e5e865572033df8e7 /lib/main.dart
ok
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/main.dart b/lib/main.dart
new file mode 100644
index 0000000..88db8b5
--- /dev/null
+++ b/lib/main.dart
@@ -0,0 +1,31 @@
+import 'package:event_bus/event_bus.dart';
+import 'package:flutter/material.dart';
+import 'package:training_planner/services/ishift_provider_service.dart';
+import 'package:training_planner/services/mock_program_provider_service.dart';
+import 'pages/home_page.dart';
+import 'package:local_auth/local_auth.dart';
+
+void main() {
+ runApp(const MyApp());
+}
+
+IProgramProviderService shiftProvider = MockShiftProviderService();
+final LocalAuthentication auth = LocalAuthentication();
+
+EventBus eventBus = EventBus();
+
+class MyApp extends StatelessWidget {
+ const MyApp({Key? key}) : super(key: key);
+
+ // This widget is the root of your application.
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'DHL HourTracker',
+ theme: ThemeData(
+ backgroundColor: Color.fromARGB(255, 255, 204, 0),
+ ),
+ home: HomePage(),
+ );
+ }
+}