merge-requests/427/head
haroon amjad 4 years ago
parent 2690bddcac
commit 69af6799c4

@ -1,4 +1,5 @@
import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/contactus/get_patientI_cprojects.dart';
import '../base_service.dart';
@ -12,6 +13,9 @@ class LiveChatService extends BaseService {
Future getAllLiveChatOrders() async {
hasError = false;
body['List_PatientICProjects'] = false;
body['Latitude'] = await this.sharedPref.getDouble(USER_LAT);
body['Longitude'] = await this.sharedPref.getDouble(USER_LONG);
await baseAppClient.post(GET_LIVECHAT_REQUEST,
onSuccess: (dynamic response, int statusCode) {
LivechatModelList.clear();

@ -45,7 +45,6 @@ class _HospitalsLiveChatPageState extends State<HospitalsLiveChatPage> {
children: [
Text(
TranslationBase.of(context).instructions,
textAlign: TextAlign.center,
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.64, height: 23 / 16),
),
SizedBox(height: 20),

@ -45,7 +45,7 @@ class _LiveChatPageState extends State<LiveChatPage> with SingleTickerProviderSt
imagesInfo: imagesInfo,
title: TranslationBase.of(context).liveChat,
description: TranslationBase.of(context).infoChat,
appBarTitle: TranslationBase.of(context).service,
appBarTitle: TranslationBase.of(context).liveChat,
showNewAppBar: true,
showNewAppBarTitle: true,
backgroundColor: CustomColors.appBackgroudGrey2Color,

@ -161,7 +161,7 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
});
},
child: DoctorCard(
onTap: () {},
onTap: null,
isInOutPatient: appointHistory.isInOutPatient,
name: appointHistory.doctorTitle + " " + appointHistory.doctorNameObj,
// billNo: _appointmentResult.invoiceNo,
@ -187,7 +187,7 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
});
},
child: DoctorCard(
onTap: () {},
onTap: null,
isInOutPatient: model.appointHistoryList[index].isInOutPatient,
name: model.appointHistoryList[index].doctorTitle + " " + model.appointHistoryList[index].doctorNameObj,
profileUrl: model.appointHistoryList[index].doctorImageURL,

@ -150,7 +150,7 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
height: 48,
alignment: Alignment.bottomRight,
child: Icon(
Icons.visibility_sharp,
Icons.arrow_forward,
color: Color(0xff2E303A),
),
)

@ -24,7 +24,7 @@ class ActiveMedicationsPage extends StatelessWidget {
isShowDecPage: true,
baseViewModel: model,
appBarTitle: TranslationBase.of(context).activeMedications,
body: Container(
body: model.activePrescriptionReport.length > 0 ? Container(
child: ListView.builder(
itemCount: model.activePrescriptionReport.length,
itemBuilder: (context, index) => Container(
@ -197,7 +197,7 @@ class ActiveMedicationsPage extends StatelessWidget {
),
),
),
),
) : getNoDataWidget(context),
),
);
}

@ -53,7 +53,7 @@ class _MyVaccinesState extends State<MyVaccines> {
separatorBuilder: (context, index) => SizedBox(height: 14),
itemBuilder: (BuildContext context, int index) {
return DoctorCard(
onTap: () {},
onTap: null,
isInOutPatient: true,
isShowInOutPatient: false,
name: TranslationBase.of(context).dr.toString() + " " + model.vaccineList[index].doctorName,

@ -216,10 +216,10 @@ class DoctorCard extends StatelessWidget {
color: Theme.of(context).primaryColor,
),
)
: Icon(
: onTap != null ? Icon(
Icons.arrow_forward,
color: Theme.of(context).primaryColor,
),
) : SizedBox(),
),
),
],

Loading…
Cancel
Save