feat(gitlab): group screen

This commit is contained in:
Rongjian Zhang
2020-01-31 22:45:40 +08:00
parent ef1be2faea
commit d7d05bc72b
5 changed files with 112 additions and 15 deletions

View File

@@ -58,23 +58,24 @@ class UserHeader extends StatelessWidget {
),
),
SizedBox(height: 8),
Row(
children: <Widget>[
Icon(
Octicons.clock,
size: 16,
color: theme.palette.tertiaryText,
),
SizedBox(width: 4),
Text(
'Joined on ${dateFormat.format(createdAt)}',
style: TextStyle(
if (createdAt != null)
Row(
children: <Widget>[
Icon(
Octicons.clock,
size: 16,
color: theme.palette.tertiaryText,
fontSize: 16,
),
),
],
),
SizedBox(width: 4),
Text(
'Joined on ${dateFormat.format(createdAt)}',
style: TextStyle(
color: theme.palette.tertiaryText,
fontSize: 16,
),
),
],
),
if (bio != null && bio.isNotEmpty) ...[
SizedBox(height: 10),
Text(