chnages has been made

This commit is contained in:
Daniah Ayad Al-sultani
2026-02-22 11:18:10 +03:00
parent 3a9e7ca8db
commit f616a2c104
26 changed files with 1130 additions and 201 deletions

View File

@@ -31,7 +31,7 @@ class _SplashScreenState extends State<SplashScreen> {
final token = await sl<UserLocalDataSource>().getCachedUserToken();
if (token != null && token.isNotEmpty) {
// Token exists, navigate directly to MainPage
// Token exists — go to MainPage (theme already loaded in main.dart)
Navigator.pushReplacement(
context,
MaterialPageRoute(builder: (_) => const MainPage()),
@@ -65,7 +65,18 @@ class _SplashScreenState extends State<SplashScreen> {
fit: BoxFit.cover,
),
),
child: Center(child: Image.asset("assets/images/logo.png", width: 200)),
// child: Center(child: Image.asset("assets/images/logo.png", width: 200)),
child: const Center(
child: Text(
'LOGO',
style: TextStyle(
fontSize: 36,
fontWeight: FontWeight.bold,
color: Colors.white,
letterSpacing: 2,
),
),
),
),
);
}