12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import 'dart:ui';
- import 'package:employee_selfservice_mobile/Screens/Login/login_screen.dart';
- import 'package:firebase_core/firebase_core.dart';
- import 'package:firebase_messaging/firebase_messaging.dart';
- import 'package:flutter/material.dart';
- import 'package:flutter_local_notifications/flutter_local_notifications.dart';
- import 'Screens/Settings/settings_screen.dart';
- import 'Screens/Splash/splash_screen.dart';
- import 'constants.dart';
- import 'dart:developer' as logDev;
- import 'package:firebase_crashlytics/firebase_crashlytics.dart';
-
- import 'firebase_options.dart';
-
- void main() async{
- WidgetsFlutterBinding.ensureInitialized();
-
- runApp(MyApp());
- }
-
- class MyApp extends StatefulWidget {
- const MyApp({super.key});
-
- @override
- State<MyApp> createState() => _MyAppState();
- }
-
- class _MyAppState extends State<MyApp> {
- /*void initState(){
- super.initState();
- }*/
-
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- debugShowCheckedModeBanner: false,
- title: 'Flutter Welcome Screen',
- theme: ThemeData(
- primaryColor: kPrimaryColor,
- scaffoldBackgroundColor: Colors.white
- ),
- home: Splash(),
- );
- }
- }
|