Fakultas Ilmu Komputer UI
Skip to content
GitLab
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
828e3da4
Commit
828e3da4
authored
Jun 06, 2021
by
Putri Salsabila
Browse files
[CHORE] Push new branch PBI-15
parent
2bb7437f
Pipeline
#81773
failed with stages
in 12 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/component/bisago_drawer.dart
View file @
828e3da4
...
...
@@ -14,7 +14,6 @@ class BisaGoDrawer extends StatelessWidget {
BisaGoDrawer
({
Key
key
})
:
super
(
key:
key
);
final
List
<
Map
<
String
,
dynamic
>>
drawerList
=
[
//{'title': 'Profile', 'icon': Icons.person},
{
'title'
:
'Beranda'
,
'icon'
:
Icons
.
home
},
{
'title'
:
'Riwayat Pencarian'
,
'icon'
:
Icons
.
history
},
{
'title'
:
'Layanan Disabilitas'
,
'icon'
:
Icons
.
group
},
...
...
@@ -61,7 +60,7 @@ class BisaGoDrawer extends StatelessWidget {
jsonDecode
(
snapshot
.
data
)[
'name'
]
.
split
(
' '
)[
0
],
style:
TextStyle
(
fontSize:
30
,
color:
Colors
.
white
,
//warna font paling atas
color:
Colors
.
white
,
fontFamily:
'Muli'
,
fontWeight:
FontWeight
.
w900
,
),
...
...
@@ -70,7 +69,7 @@ class BisaGoDrawer extends StatelessWidget {
'Lihat Profil'
,
style:
TextStyle
(
fontSize:
13
,
color:
Colors
.
white
,
//warna font paling atas
color:
Colors
.
white
,
fontFamily:
'Muli'
,
fontWeight:
FontWeight
.
w500
,
),
...
...
@@ -106,7 +105,7 @@ class BisaGoDrawer extends StatelessWidget {
),
Container
(
decoration:
BoxDecoration
(
border:
Border
(
top:
BorderSide
(
color:
Colors
.
white
))),
//warna garis top
BoxDecoration
(
border:
Border
(
top:
BorderSide
(
color:
Colors
.
white
))),
),
];
menus
.
forEach
((
element
)
=
>
drawerItem
.
add
(
element
));
...
...
@@ -134,7 +133,7 @@ class BisaGoDrawer extends StatelessWidget {
decoration:
BoxDecoration
(
color:
greenPrimary
,
border:
Border
(
bottom:
BorderSide
(
color:
Colors
.
white
),
//warna garis paling bawah
bottom:
BorderSide
(
color:
Colors
.
white
),
),
),
child:
ListTile
(
...
...
@@ -148,7 +147,7 @@ class BisaGoDrawer extends StatelessWidget {
title
==
'Login'
?
snapshot
.
data
:
title
,
style:
TextStyle
(
fontSize:
20
,
color:
Colors
.
white
,
//warna logout & login
color:
Colors
.
white
,
fontFamily:
'Muli'
,
),
),
...
...
@@ -170,7 +169,7 @@ class BisaGoDrawer extends StatelessWidget {
decoration:
BoxDecoration
(
color:
greenPrimary
,
border:
Border
(
bottom:
BorderSide
(
color:
Colors
.
white
),
//warna garis-garis tengah
bottom:
BorderSide
(
color:
Colors
.
white
),
),
),
child:
ListTile
(
...
...
@@ -184,7 +183,7 @@ class BisaGoDrawer extends StatelessWidget {
title
,
style:
TextStyle
(
fontSize:
20
,
color:
Colors
.
white
,
//warna beranda-tentang aplikasi
color:
Colors
.
white
,
fontFamily:
'Muli'
,
),
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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