Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
bisago
bisago-fe
Commits
0bc85ec1
Commit
0bc85ec1
authored
Jun 07, 2021
by
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
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/component/bisago_drawer.dart
View file @
0bc85ec1
...
...
@@ -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
(
...
...
lib/page/profile/edit_profile.dart
View file @
0bc85ec1
...
...
@@ -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
(
...
...
lib/page/profile/profile.dart
View file @
0bc85ec1
...
...
@@ -123,7 +123,7 @@ class _ProfileState extends State<Profile> {
bottom:
doubleSpace
,
),
child:
ProfilePicture
(
user
,
radius:
50
,
fontSize:
5
0
*
0.7
,
previewAble:
true
),
radius:
50
,
fontSize:
4
5
,
previewAble:
true
),
),
if
(!
widget
.
isPublic
)
Text
(
...
...
lib/page/profile/profile_picture.dart
View file @
0bc85ec1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment