add choose user pages

This commit is contained in:
Salvatore Giordano
2020-11-06 17:09:29 +01:00
parent 73f5b33489
commit c8bbd59732
8 changed files with 507 additions and 79 deletions
+1 -3
View File
@@ -55,9 +55,7 @@ class UserAvatar extends StatelessWidget {
errorWidget: (_, __, ___) {
return Center(
child: Text(
user.extraData?.containsKey('name') ?? false
? user.extraData['name'][0]
: '',
user.name[0],
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,