UI nit picks

This commit is contained in:
xsahil03x
2020-11-20 12:06:00 +05:30
parent 822547b644
commit 389656a477
4 changed files with 124 additions and 76 deletions
+13 -8
View File
@@ -59,13 +59,18 @@ class UserItem extends StatelessWidget {
}
},
leading: UserAvatar(
user: user,
showOnlineStatus: true,
onTap: (user) {
if (onImageTap != null) {
onImageTap(user);
}
}),
user: user,
showOnlineStatus: true,
onTap: (user) {
if (onImageTap != null) {
onImageTap(user);
}
},
constraints: BoxConstraints.tightFor(
height: 40,
width: 40,
),
),
trailing: selected
? CircleAvatar(
child: Icon(
@@ -75,7 +80,7 @@ class UserItem extends StatelessWidget {
radius: 10,
)
: null,
title: Text(user.name),
title: Text(user.name,style: TextStyle(fontWeight: FontWeight.bold),),
subtitle: showLastSeen ? _buildLastActive(context) : null,
);
}