visitor password api

This commit is contained in:
mohammad
2024-08-20 10:44:15 +03:00
parent 5b9a6197e6
commit 0cf5053f8b
8 changed files with 170 additions and 17 deletions

View File

@ -59,8 +59,8 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), // Set up color scheme
useMaterial3: true, // Enable Material 3
),
home: VisitorPasswordDialog()
// home:isLoggedIn == 'Success' ? const HomePage() : const LoginPage(),
// home: VisitorPasswordDialog()
home:isLoggedIn == 'Success' ? const HomePage() : const LoginPage(),
));
}
}