This commit is contained in:
Hamza-Ayed
2026-05-01 01:43:59 +03:00
parent cdda136006
commit 5fc160e374
25 changed files with 1526 additions and 1856 deletions

View File

@@ -8,6 +8,7 @@ import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:get/get.dart';
import 'package:get_storage/get_storage.dart';
import 'package:sefer_admin1/views/auth/login_page.dart';
import 'package:sefer_admin1/views/auth/register_page.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'controller/firebase/firbase_messge.dart';
import 'controller/functions/encrypt_decrypt.dart';
@@ -62,7 +63,12 @@ class MainApp extends StatelessWidget {
Widget build(BuildContext context) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
home: AdminLoginPage(),
initialRoute: '/login',
getPages: [
GetPage(name: '/login', page: () => const AdminLoginPage()),
GetPage(name: '/register', page: () => const RegisterPage()),
],
home: const AdminLoginPage(),
);
}
}