// ignore_for_file: dead_code import 'package:flutter/material.dart'; import 'package:flutter_passvault/main.dart'; import 'package:flutter_passvault/view_pages/add_credentials.dart'; import 'package:flutter_passvault/view_pages/login.dart'; import 'package:flutter_passvault/view_pages/members.dart'; import '../view_pages/home_screen_page.dart'; class RouteConfig { static Route generateRoute(RouteSettings settings) { switch (settings.name) { // case '/login': // return MaterialPageRoute(builder: (_) => const LoginScreen()); // // return MaterialPageRoute(builder: (_) => const MyApp()); // break; case '/MainPage': return MaterialPageRoute(builder: (_) => const Screen()); break; case '/Addcredential': return MaterialPageRoute(builder: (_) => const AddCredentials()); break; // case '/EditProfile': // return MaterialPageRoute(builder: (_) => Edit_Profile()); // break; // case '/ViewDetail1': // return MaterialPageRoute(builder: (_) => ViewDetilsScreen()); // break; // case '/Memberpage': // return MaterialPageRoute(builder: (_) => const UserNameList()); // break; // case '/ViewCrentials': // return MaterialPageRoute(builder: (_) => ViewCdrentialontap());ssologin // break; // case '/ShareToUsr': // return MaterialPageRoute(builder: (_) => ShareDataToUsr()); // break; // case '/ssologin': // return MaterialPageRoute(builder: (_) => const MyApp1()); // break; // case '/register': // return MaterialPageRoute(builder: (_) => const Registeration()); // break; case '/ssologin': return MaterialPageRoute(builder: (_) => const MyApp()); break; default: return MaterialPageRoute(builder: (_) => const Members()); } } }