We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6088c7 commit 4a3da9eCopy full SHA for 4a3da9e
lib/AddRecord.dart
@@ -13,7 +13,7 @@ Future createRecord(
13
String first, String last, String gndr, String eml, String phoneNum) async {
14
final apiURL = Uri.parse('https://pcc.edu.pk/ws/create/hms_consumers.php');
15
16
- final res =await http.post(apiURL,
+ await http.post(apiURL,
17
headers: {
18
'Content-Type': 'application/json; charset=UTF-8',
19
},
@@ -218,6 +218,11 @@ class NewRecordList extends State<AddRecord> {
218
first, last, gndr, eml, number);
219
220
print(record);
221
+ firstName.clear();
222
+ lastName.clear();
223
+ gender.clear();
224
+ email.clear();
225
+ phoneNum.clear();
226
227
return showDialog(
228
context: context,
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments