Fakultas Ilmu Komputer UI

Commit 0bc85ec1 authored by Patricia Anugrah Setiani's avatar Patricia Anugrah Setiani
Browse files

[CHORES] change color and font size of default profile picture

parent aba16fc1
Pipeline #81997 passed with stages
in 15 minutes and 22 seconds
......@@ -60,7 +60,7 @@ class BisaGoDrawer extends StatelessWidget {
children: <Widget>[
Container(
child: ProfilePicture(DetailUserModel.fromJson(jsonDecode(snapshot.data)),
radius: 30, fontSize: 30 * 0.7, previewAble: true),
radius: 30, fontSize: 25, previewAble: true),
),
Expanded(
child: Container(
......
......@@ -137,7 +137,7 @@ class _EditProfileState extends State<EditProfile> {
CircleAvatar(
key: Key('Avatar ${detailUserModel.name.split(' ')[0]}'),
radius: 50,
backgroundColor: greenPrimary,
backgroundColor: Colors.white,
child: (_image != null)
? ClipOval(
child: AspectRatio(
......@@ -149,7 +149,7 @@ class _EditProfileState extends State<EditProfile> {
style: const TextStyle(
fontSize: 45,
fontWeight: FontWeight.w900,
color: Colors.white,
color: greenPrimary,
fontFamily: 'Comfortaa',
))
: ClipOval(
......
......@@ -123,7 +123,7 @@ class _ProfileState extends State<Profile> {
bottom: doubleSpace,
),
child: ProfilePicture(user,
radius: 50, fontSize: 50 * 0.7, previewAble: true),
radius: 50, fontSize: 45, previewAble: true),
),
if (!widget.isPublic)
Text(
......
......@@ -27,8 +27,8 @@ class ProfilePicture extends StatelessWidget {
this.previewAble = false,
this.radius = 20,
this.fontSize = 14,
this.color = Colors.white,
this.backgroundColor = greenPrimary,
this.color = greenPrimary,
this.backgroundColor = Colors.white,
this.fontFamily = 'Comfortaa',
this.fontWeight = FontWeight.w900})
: super(key: key);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment