Fakultas Ilmu Komputer UI

Commit 86874dc1 authored by fazasabira's avatar fazasabira
Browse files

[REFACTOR] making space between button terapkan and hapus semua

parent 210c45e1
Pipeline #37622 failed with stages
in 1 minute and 4 seconds
......@@ -23,7 +23,7 @@ class _InsideFilterState extends State<InsideFilter>
Widget build(BuildContext context) {
return Container(
height: MediaQuery.of(context).size.height / 2,
decoration: BoxDecoration(border: Border.all(color: Colors.white)),
decoration: BoxDecoration(border: Border.all(color: Colors.green)),
child: new Row(
//body: ListView(
children: <Widget>[
......@@ -33,18 +33,26 @@ class _InsideFilterState extends State<InsideFilter>
children: <Widget>[
new InkWell(
child: new Text('Urutan'),
splashColor: Colors.green,
highlightColor: Colors.green,
onTap: () => setState(() {
print('no');
showUrutan = true;
})),
Container(
height: 80.0,
),
InkWell(
child: new Text('Jenis Fasilitas'),
splashColor: Colors.green,
highlightColor: Colors.green,
onTap: () => setState(() {
print("yes");
showUrutan = false;
})),
Container(
height: 200.0,
),
Container(
margin: EdgeInsets.only(
top: doubleSpace, bottom: doubleSpace, left: smallSpace),
......@@ -66,7 +74,7 @@ class _InsideFilterState extends State<InsideFilter>
},
child: Text(
"Hapus Semua",
style: TextStyle(fontSize: 20),
style: TextStyle(fontSize: 10),
),
),
),
......@@ -184,8 +192,38 @@ class _InsideFilterState extends State<InsideFilter>
},
),
new Text("Parkir Disabilitas"),
Container(height: 1.0,),
],
),
Container(
height: 0.0,
),
Container(
margin: EdgeInsets.only(
top: doubleSpace, bottom: doubleSpace, left: smallSpace),
decoration: BoxDecoration(boxShadow: regularShadow),
child: SizedBox(
width: double.infinity,
child: FlatButton(
color: Colors.green[700],
textColor: Colors.white,
//disabledColor: Colors.grey,
//disabledTextColor: Colors.black,
padding: EdgeInsets.all(8),
shape: RoundedRectangleBorder(
borderRadius: regularBorderRadius,
side: BorderSide(color: Colors.transparent)),
splashColor: Colors.green,
onPressed: () {
/*...*/
},
child: Text(
"Terapkan",
style: TextStyle(fontSize: 14),
),
),
),
),
// new ListTile(title: new Text('Kursi roda'), onTap: () {}),
// new ListTile(title: new Text('Lift'), onTap: () {}),
......@@ -251,6 +289,9 @@ class _InsideFilterState extends State<InsideFilter>
],
)
),
Container(
height: 190.0,
),
Container(
margin: EdgeInsets.only(
top: doubleSpace, bottom: doubleSpace, left: smallSpace),
......@@ -260,19 +301,19 @@ class _InsideFilterState extends State<InsideFilter>
child: FlatButton(
color: Colors.green[700],
textColor: Colors.white,
disabledColor: Colors.grey,
disabledTextColor: Colors.black,
//disabledColor: Colors.grey,
//disabledTextColor: Colors.black,
padding: EdgeInsets.all(8),
shape: RoundedRectangleBorder(
borderRadius: regularBorderRadius,
side: BorderSide(color: Colors.transparent)),
splashColor: Colors.redAccent,
splashColor: Colors.green,
onPressed: () {
/*...*/
},
child: Text(
"Terapkan",
style: TextStyle(fontSize: 20),
style: TextStyle(fontSize: 14),
),
),
),
......
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