visitor password

This commit is contained in:
mohammad
2024-08-14 12:37:41 +03:00
parent 2d0f85bded
commit 6efcc6081d
9 changed files with 380 additions and 188 deletions

View File

@ -43,8 +43,7 @@ class MyApp extends StatelessWidget {
),
theme: ThemeData(
textTheme: const TextTheme(
bodySmall: TextStyle(
fontSize: 13, color: ColorsManager.whiteColors, fontWeight: FontWeight.bold),
bodySmall: TextStyle(fontSize: 13, color: ColorsManager.whiteColors, fontWeight: FontWeight.bold),
bodyMedium: TextStyle(color: Colors.black87, fontSize: 14),
bodyLarge: TextStyle(fontSize: 16, color: Colors.white),
headlineSmall: TextStyle(color: Colors.black87, fontSize: 18),
@ -58,8 +57,8 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), // Set up color scheme
useMaterial3: true, // Enable Material 3
),
home: VisitorPasswordDialog()
// isLoggedIn == 'Success' ? const HomePage() : const LoginPage(),
// home: VisitorPasswordDialog()
home:isLoggedIn == 'Success' ? const HomePage() : const LoginPage(),
));
}
}