import 'dart:ui'; import 'package:tower_app/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 createState() => _MyAppState(); } class _MyAppState extends State { /*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(), ); } }