Fakultas Ilmu Komputer UI

Commit 12c42925 authored by Agnes Handoko's avatar Agnes Handoko
Browse files

[REFACTOR] fix padding, margin, and font size to strive consistency in UI Implementation

parent 8fbf3a24
Pipeline #41143 passed with stages
in 7 minutes and 37 seconds
......@@ -49,7 +49,7 @@ class DetailSekolahState extends State<DetailSekolah> {
EdgeInsets.only(bottom: doubleSpace, left: doubleSpace, right: doubleSpace),
decoration: BoxDecoration(
border: Border.all(
width: 2, color: greenPrimary.withOpacity(0.3)),
width: 2, color: greenPrimary.withOpacity(0.4)),
borderRadius: regularBorderRadius,
color: Colors.white,
),
......@@ -73,14 +73,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.alamat,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
margin: EdgeInsets.only(
......@@ -99,14 +99,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.nomerTelpon,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
margin: EdgeInsets.only(
......@@ -125,14 +125,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.website,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
margin: EdgeInsets.only(
......@@ -151,14 +151,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.jumlahSiswa,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
margin: EdgeInsets.only(
......@@ -177,14 +177,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.status,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
......@@ -204,14 +204,14 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.jenisSekolah,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
),
Divider(
color: greenPrimary,
thickness: 1,
color: greenPrimary.withOpacity(0.4),
thickness: 2,
),
Container(
margin: EdgeInsets.only(
......@@ -230,7 +230,7 @@ class DetailSekolahState extends State<DetailSekolah> {
child: Text(
widget.akreditasi,
style: TextStyle(
fontSize: 20,
fontSize: 18,
color: Colors.black,
fontFamily: 'Muli'),
),
......
......@@ -126,7 +126,7 @@ class _LayananDisabilitasState extends State<LayananDisabilitas> {
void _navigateToDetailSekolahPage(BuildContext context) {
final route = MaterialPageRoute(builder: (_) => DetailSekolah(
"Sekolah Pilar Indonesia",
"Ciangsana",
"Jl. Paso No.84, Jagakarsa, Kec. Jagakarsa, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12620",
"02149305494",
"www.pilarindonesia.com",
"1000",
......
......@@ -21,7 +21,7 @@ void main() {
// Provide the childWidget to the Container.
await tester.pumpWidget(buildTestableWidget(DetailSekolah(
"Sekolah Pilar Indonesia",
"Ciangsana",
"Jl. Paso No.84, Jagakarsa, Kec. Jagakarsa, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12620",
"02149305494",
"www.pilarindonesia.com",
"1000",
......
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