feat: Implement Google Sign-In functionality and update user profile management

This commit is contained in:
Dayron
2025-10-07 08:25:21 +02:00
parent ec0bc59a70
commit 563ba05f74
7 changed files with 163 additions and 8 deletions

View File

@@ -47,8 +47,9 @@ class ProfileContent extends StatelessWidget {
radius: 40,
backgroundColor: Theme.of(context).colorScheme.primary,
child: Text(
user.prenom[0].toUpperCase() +
user.nom[0].toUpperCase(),
user.prenom.isNotEmpty
? user.prenom[0].toUpperCase()
: 'U',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold,