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
8b687d85
Commit
8b687d85
authored
Jun 07, 2021
by
Patricia Anugrah Setiani
Browse files
[CHORES] add border to default profile picture in drawer
parent
0bc85ec1
Pipeline
#82021
passed with stages
in 22 minutes and 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/component/bisago_drawer.dart
View file @
8b687d85
...
...
@@ -59,6 +59,10 @@ class BisaGoDrawer extends StatelessWidget {
child:
Row
(
children:
<
Widget
>[
Container
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
30
),
border:
Border
.
all
(
color:
Colors
.
white
)
),
child:
ProfilePicture
(
DetailUserModel
.
fromJson
(
jsonDecode
(
snapshot
.
data
)),
radius:
30
,
fontSize:
25
,
previewAble:
true
),
),
...
...
lib/page/profile/edit_profile.dart
View file @
8b687d85
...
...
@@ -137,7 +137,7 @@ class _EditProfileState extends State<EditProfile> {
CircleAvatar
(
key:
Key
(
'Avatar
${detailUserModel.name.split(' ')[0]}
'
),
radius:
50
,
backgroundColor:
Colors
.
white
,
backgroundColor:
greenPrimary
,
child:
(
_image
!=
null
)
?
ClipOval
(
child:
AspectRatio
(
...
...
@@ -149,7 +149,7 @@ class _EditProfileState extends State<EditProfile> {
style:
const
TextStyle
(
fontSize:
45
,
fontWeight:
FontWeight
.
w900
,
color:
greenPrimary
,
color:
Colors
.
white
,
fontFamily:
'Comfortaa'
,
))
:
ClipOval
(
...
...
lib/page/profile/profile_picture.dart
View file @
8b687d85
...
...
@@ -27,8 +27,8 @@ class ProfilePicture extends StatelessWidget {
this
.
previewAble
=
false
,
this
.
radius
=
20
,
this
.
fontSize
=
14
,
this
.
color
=
greenPrimary
,
this
.
backgroundColor
=
Colors
.
white
,
this
.
color
=
Colors
.
white
,
this
.
backgroundColor
=
greenPrimary
,
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