Fakultas Ilmu Komputer UI

Commit 551a7e99 authored by Adzkia Aisyah Afrah Hardian's avatar Adzkia Aisyah Afrah Hardian
Browse files

[REFACTOR] reference all public properties

parent 04407712
Pipeline #36747 passed with stages
in 4 minutes and 15 seconds
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:ppl_disabilitas/config/styles.dart';
import 'package:ppl_disabilitas/network/data/network_model.dart';
import 'package:ppl_disabilitas/network/network_interface.dart';
/// Create Pencarian page widget with a state
// Create Pencarian page widget with a state
class Pencarian extends StatefulWidget {
PencarianState createState() => PencarianState();
/// State of Pencacrian page
class PencarianState extends State<Pencarian> {
final myController = TextEditingController();
Icon searchIcon = Icon(Icons.search);
......@@ -17,6 +19,16 @@ class PencarianState extends State<Pencarian> {
List places = [];
List currentSearch = [];
Future<NetworkModel> data;
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
properties.add(DiagnosticsProperty<List>('places', places));
properties.add(DiagnosticsProperty<List>('currentSearch', currentSearch));
properties.add(DiagnosticsProperty<NetworkInterface>('networkInterface', networkInterface));
void initState() {
data = networkInterface.get(
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