Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import 'dart:ui';
  2. import 'package:employee_selfservice_mobile/Screens/Login/login_screen.dart';
  3. import 'package:firebase_core/firebase_core.dart';
  4. import 'package:firebase_messaging/firebase_messaging.dart';
  5. import 'package:flutter/material.dart';
  6. import 'package:flutter_local_notifications/flutter_local_notifications.dart';
  7. import 'Screens/Settings/settings_screen.dart';
  8. import 'Screens/Splash/splash_screen.dart';
  9. import 'constants.dart';
  10. import 'dart:developer' as logDev;
  11. import 'package:firebase_crashlytics/firebase_crashlytics.dart';
  12. import 'firebase_options.dart';
  13. void main() async{
  14. WidgetsFlutterBinding.ensureInitialized();
  15. runApp(MyApp());
  16. }
  17. class MyApp extends StatefulWidget {
  18. const MyApp({super.key});
  19. @override
  20. State<MyApp> createState() => _MyAppState();
  21. }
  22. class _MyAppState extends State<MyApp> {
  23. /*void initState(){
  24. super.initState();
  25. }*/
  26. @override
  27. Widget build(BuildContext context) {
  28. return MaterialApp(
  29. debugShowCheckedModeBanner: false,
  30. title: 'Flutter Welcome Screen',
  31. theme: ThemeData(
  32. primaryColor: kPrimaryColor,
  33. scaffoldBackgroundColor: Colors.white
  34. ),
  35. home: Splash(),
  36. );
  37. }
  38. }