fix: styles

This commit is contained in:
Rongjian Zhang
2019-02-03 00:28:51 +08:00
parent c047aae099
commit 9ce9589b2c
10 changed files with 207 additions and 207 deletions

View File

@@ -13,9 +13,8 @@ class Avatar extends StatelessWidget {
Widget build(BuildContext context) {
return Link(
onTap: () {
Navigator.of(context).push(
CupertinoPageRoute(builder: (_) => UserScreen(login)),
);
Navigator.of(context)
.push(CupertinoPageRoute(builder: (_) => UserScreen(login)));
},
child: CircleAvatar(
backgroundColor: Colors.transparent,