forked from eatvio/eatvio_app
feat(diets): fix profile
This commit is contained in:
@@ -10,28 +10,24 @@ class ProfileScreen extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(),
|
||||
body: Expanded(
|
||||
child: Center(
|
||||
child: Column(
|
||||
children: [
|
||||
CircleAvatar(
|
||||
maxRadius: 128,
|
||||
minRadius: 128,
|
||||
backgroundImage: NetworkImage(author.authorProfileIcon),
|
||||
),
|
||||
SizedBox(height: 32),
|
||||
Text(
|
||||
author.authorName,
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 24,
|
||||
fontWeight: FontWeight.w400,
|
||||
height: 1,
|
||||
),
|
||||
),
|
||||
],
|
||||
body: Column(
|
||||
children: [
|
||||
CircleAvatar(
|
||||
maxRadius: 128,
|
||||
minRadius: 128,
|
||||
backgroundImage: NetworkImage(author.authorProfileIcon),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 32),
|
||||
Text(
|
||||
author.authorName,
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 24,
|
||||
fontWeight: FontWeight.w400,
|
||||
height: 1,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user