Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Sid9305/Mobile-App
Browse files Browse the repository at this point in the history
  • Loading branch information
Sid9305 committed Nov 29, 2024
2 parents 51155f6 + da644bf commit 50b532d
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,37 +1,17 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:showcaseview/showcaseview.dart';
import 'package:tsec_app/models/event_model/event_model.dart';
import 'package:tsec_app/new_ui/router.dart';
import 'package:tsec_app/new_ui/screens/home_screen/home_screen.dart';
import 'package:tsec_app/new_ui/screens/notes_screen/notes_screen.dart';
import 'package:tsec_app/new_ui/screens/railway_screen/railway_screen.dart';
import 'package:tsec_app/new_ui/screens/splash_screen/splash_screen.dart';
import 'package:tsec_app/new_ui/screens/main_screen/main_screen.dart';
import 'package:tsec_app/new_ui/screens/login_screen/login_screen.dart';
import "package:tsec_app/new_ui/screens/event_details_screen/event_details.dart";
import 'package:tsec_app/new_ui/screens/profile_screen/profile_screen.dart';
import 'package:tsec_app/screens/department_screen/department_screen.dart';
import 'package:tsec_app/screens/departmentlist_screen/department_list.dart';
import 'package:tsec_app/services/localnotificationservice.dart';
import 'package:tsec_app/services/sharedprefsfordot.dart';
import 'package:tsec_app/utils/department_enum.dart';
import 'provider/app_state_provider.dart';
import 'provider/shared_prefs_provider.dart';
import 'provider/theme_provider.dart';
import 'utils/init_get_it.dart';
import 'utils/themes.dart';
import 'firebase_options.example.dart';
import 'package:tsec_app/provider/auth_provider.dart';
import 'package:tsec_app/models/user_model/user_model.dart';

Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
await Firebase.initializeApp();
Expand Down Expand Up @@ -82,7 +62,6 @@ class TSECApp extends ConsumerStatefulWidget {

class _TSECAppState extends ConsumerState<TSECApp> {
late final GoRouter _routes;
late FirebaseMessaging _firebaseMessaging;

// @override
// void initState() {
Expand Down Expand Up @@ -170,7 +149,7 @@ class _TSECAppState extends ConsumerState<TSECApp> {

@override
Widget build(BuildContext context) {
final _themeMode = ref.watch(themeProvider);
// final _themeMode = ref.watch(themeProvider);
return ShowCaseWidget(
builder: (context) => Builder(
builder: (context) => MaterialApp.router(
Expand Down

0 comments on commit 50b532d

Please sign in to comment.