done My Referral Patient and create Base App Client

merge-requests/76/head
Mohammad ALjammal 4 years ago
parent 9ce7d3267b
commit 082447c576

@ -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();

@ -25,7 +25,6 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
bool _showDetails = false;
bool _isLoading = false;
final _formKey = GlobalKey<FormState>();
String _referredDoctorRemarks;
String error;
TextEditingController answerController;
@ -270,9 +269,6 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
else
return null;
},
onSubmit: (value) {
_referredDoctorRemarks = value;
},
),
),
SizedBox(height: 10.0),

Loading…
Cancel
Save