Last active
November 4, 2018 19:09
-
-
Save 5lineofcode/0b4b9f5072820d86c76afecdcdd254e8 to your computer and use it in GitHub Desktop.
form_element
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
StandartInput | |
Rule: | |
ID dan labelText WAJIB di isi | |
*/ | |
/* | |
Polos | |
*/ | |
StandartInput( | |
id: "namaLengkap", | |
labelText: "Nama Lengkap", | |
), | |
/* | |
Menggunakan ICON | |
*/ | |
StandartInput( | |
id: "namaLengkap", | |
labelText: "Nama Lengkap", | |
iconName: Icons.people, | |
), | |
/* | |
Input Angka | |
*/ | |
StandartInput( | |
id: "namaLengkap", | |
labelText: "Nama Lengkap", | |
iconName: Icons.people, | |
keyboardType: TextInputType.number, | |
), | |
/* | |
Input Password | |
*/ | |
StandartInput( | |
id: "password", | |
labelText: "Password", | |
usePasswordMask: true, | |
), | |
/* | |
Menonaktifkan Fitur AutoSelect ketika Focus | |
*/ | |
StandartInput( | |
id: "namaLengkap", | |
labelText: "Nama Lengkap", | |
iconName: Icons.people, | |
autoSelectText: true, | |
), | |
/* | |
Untuk mencari lokasi, terintegrasi dengan Google Place Autocomplete/Queryautocomplete/Nearbysearch dll | |
*/ | |
GooglePlaceAutocompleteSearchWidget( | |
id: "lokasi", | |
), | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pending:
ComboBox
https://medium.com/@boldijar.paul/comboboxes-in-flutter-cabc9178cc95
RemoteSearch