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
2020
PPL-C
DTB-Layanan Fasilitas Publik Penyandang Disabilitas
PoiPoLeGan-PPLapanganTembak-DTB Layanan Fasilitas Publik Penyandang Disabilitas-FE
Commits
66def408
Commit
66def408
authored
Mar 19, 2020
by
Adzkia Aisyah Afrah Hardian
Browse files
[REFACTOR] add document to public members
parent
551a7e99
Pipeline
#36783
passed with stages
in 4 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/page/pencarian/pencarian.dart
View file @
66def408
...
...
@@ -4,7 +4,7 @@ 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
{
@override
PencarianState
createState
()
=
>
PencarianState
();
...
...
@@ -12,20 +12,33 @@ class Pencarian extends StatefulWidget {
/// State of Pencacrian page
class
PencarianState
extends
State
<
Pencarian
>
{
final
myController
=
TextEditingController
();
/// Controller for textFormField
TextEditingController
myController
=
TextEditingController
();
/// Search Icon for textFormField
Icon
searchIcon
=
Icon
(
Icons
.
search
);
/// Text for appbar
Widget
appBarText
=
Text
(
'Pencarian Lokasi'
);
/// To get API of places
NetworkInterface
networkInterface
=
NetworkInterface
();
/// List for places from API
List
places
=
[];
/// List of places currently searched on the textFormField
List
currentSearch
=
[];
/// Data from API
Future
<
NetworkModel
>
data
;
@override
void
debugFillProperties
(
DiagnosticPropertiesBuilder
properties
)
{
super
.
debugFillProperties
(
properties
);
properties
.
add
(
DiagnosticsProperty
<
List
>(
'places'
,
places
))
;
properties
.
add
(
DiagnosticsProperty
<
List
>(
'currentSearch'
,
currentSearch
))
;
properties
.
add
(
DiagnosticsProperty
<
NetworkInterface
>(
'networkInterface'
,
networkInterface
));
properties
.
.
add
(
DiagnosticsProperty
<
List
>(
'places'
,
places
))
.
.
add
(
DiagnosticsProperty
<
List
>(
'currentSearch'
,
currentSearch
))
.
.
add
(
DiagnosticsProperty
<
NetworkInterface
>(
'networkInterface'
,
networkInterface
));
}
...
...
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