UI nit picks
This commit is contained in:
+13
-8
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -376,12 +376,16 @@ class _UserListViewState extends State<UserListView>
|
||||
headerItem: (header) {
|
||||
return Container(
|
||||
key: ValueKey<String>('HEADER-$header'),
|
||||
color: Colors.grey.shade100,
|
||||
color: Colors.black.withOpacity(0.05),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal:8.0,vertical: 6),
|
||||
child: Text(
|
||||
header,
|
||||
style: TextStyle(fontWeight: FontWeight.w500),
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 12,
|
||||
color:Colors.black.withOpacity(0.3)
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user