Fakultas Ilmu Komputer UI

Commit e532a4c5 authored by Agnes Handoko's avatar Agnes Handoko
Browse files

[GREEN] finished static filter at list sekolah page

parent 55b85079
Pipeline #40962 passed with stages
in 5 minutes and 49 seconds
......@@ -388,7 +388,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: komentarTerbaru,
onChanged: (bool value) {
setStateModal(() {
......@@ -416,7 +416,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: komentarTerpopuler,
onChanged: (bool value) {
setStateModal(() {
......@@ -446,7 +446,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: komentarRatingTertinggi,
onChanged: (bool value) {
setStateModal(() {
......@@ -485,7 +485,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: kursiRodaVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -513,7 +513,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: liftVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -541,7 +541,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: toiletDisabilitasVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -569,7 +569,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: tempatIbadahVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -597,7 +597,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: bidangMiringVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -625,7 +625,7 @@ class _FasilitasState extends State<Fasilitas> {
child: Checkbox(
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: parkirUmumVal,
onChanged: (bool value) {
setStateModal(() {
......@@ -651,9 +651,9 @@ class _FasilitasState extends State<Fasilitas> {
unselectedWidgetColor: greenPrimary,
),
child: Checkbox(
checkColor: greenPale,
checkColor: greenPrimary,
activeColor:
Colors.lightGreenAccent,
greenPale,
value: parkirDisabilitasVal,
onChanged: (bool value) {
setStateModal(() {
......
......@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:ppl_disabilitas/component/bisago_appbar.dart';
import 'package:ppl_disabilitas/component/bisago_drawer.dart';
import 'package:ppl_disabilitas/config/styles.dart';
import 'package:ppl_disabilitas/page/informasi/list_sekolah.dart';
class LayananDisabilitas extends StatefulWidget {
@override
......@@ -90,7 +91,7 @@ class _LayananDisabilitasState extends State<LayananDisabilitas> {
width: 2, color: greenPrimary.withOpacity(0.4))),
//splashColor: Colors.lightGreen,
onPressed: () {
/*...*/
_navigateToListSekolahPage(context);
},
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
......@@ -115,4 +116,9 @@ class _LayananDisabilitasState extends State<LayananDisabilitas> {
),
);
}
void _navigateToListSekolahPage(BuildContext context) {
final route = MaterialPageRoute(builder: (_) => ListSekolah());
Navigator.of(context).push(route);
}
}
This diff is collapsed.
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