// routes.dart
import 'package:firebase_ui_auth/firebase_ui_auth.dart';
import 'package:flutter/material.dart';
import 'package:telemednet/launch_screen.dart';
import 'package:telemednet/route_names.dart';
import 'package:telemednet/user_profile_screen.dart';
import 'package:telemednet/user_screen.dart';

final Map<String, Widget Function(BuildContext)> routes = {
  '/': (context) => const LaunchScreen(),
  RouteNames.signIn: (context) => SignInScreen(
        providers: [EmailAuthProvider(), PhoneAuthProvider()],
      ),
  RouteNames.signUp: (context) => const RegisterScreen(),
  RouteNames.userProfile: (context) => const UserProfileScreen(),
  RouteNames.userHome: (context) => const UserScreen(),
};
