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:doctor_app_flutter/util/helpers.dart';
import 'package:http/http.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 { class BaseAppClient {
static Client client = HttpInterceptor().getClient(); static Client client = HttpInterceptor().getClient();

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

Loading…
Cancel
Save