diff options
Diffstat (limited to 'lib/main.dart')
| -rw-r--r-- | lib/main.dart | 31 |
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(), + ); + } +} |
