From 082447c57680b5e4fc261e46dbc0033e3d6a7ed8 Mon Sep 17 00:00:00 2001 From: Mohammad ALjammal Date: Thu, 28 May 2020 13:56:29 +0300 Subject: [PATCH] done My Referral Patient and create Base App Client --- lib/client/base_app_client.dart | 7 +++++++ lib/widgets/doctor/my_referral_patient_widget.dart | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/client/base_app_client.dart b/lib/client/base_app_client.dart index fa377b90..7c34b262 100644 --- a/lib/client/base_app_client.dart +++ b/lib/client/base_app_client.dart @@ -7,6 +7,13 @@ import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:http/http.dart'; +/* + *@author: Mohammad Aljammal + *@Date:28/5/2020 + *@param: url, onSuccess callBack, onFailure callBack + *@return: + *@desc: convert DateTime to data formatted + */ class BaseAppClient { static Client client = HttpInterceptor().getClient(); diff --git a/lib/widgets/doctor/my_referral_patient_widget.dart b/lib/widgets/doctor/my_referral_patient_widget.dart index 27517758..433b9593 100644 --- a/lib/widgets/doctor/my_referral_patient_widget.dart +++ b/lib/widgets/doctor/my_referral_patient_widget.dart @@ -25,7 +25,6 @@ class _MyReferralPatientWidgetState extends State { bool _showDetails = false; bool _isLoading = false; final _formKey = GlobalKey(); - String _referredDoctorRemarks; String error; TextEditingController answerController; @@ -270,9 +269,6 @@ class _MyReferralPatientWidgetState extends State { else return null; }, - onSubmit: (value) { - _referredDoctorRemarks = value; - }, ), ), SizedBox(height: 10.0),