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),