Merge branch 'development' of https://gitlab.com/Cloud_Solution/diplomatic-quarter into fatima-new
commit
b6981299d9
@ -0,0 +1,76 @@
|
|||||||
|
class DentalProceduresModel {
|
||||||
|
List<ListIsPatientHasOnGoingEstimation> listIsPatientHasOnGoingEstimation;
|
||||||
|
|
||||||
|
DentalProceduresModel({this.listIsPatientHasOnGoingEstimation});
|
||||||
|
|
||||||
|
DentalProceduresModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
if (json['List_IsPatientHasOnGoingEstimation'] != null) {
|
||||||
|
listIsPatientHasOnGoingEstimation =
|
||||||
|
new List<ListIsPatientHasOnGoingEstimation>();
|
||||||
|
json['List_IsPatientHasOnGoingEstimation'].forEach((v) {
|
||||||
|
listIsPatientHasOnGoingEstimation
|
||||||
|
.add(new ListIsPatientHasOnGoingEstimation.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
if (this.listIsPatientHasOnGoingEstimation != null) {
|
||||||
|
data['List_IsPatientHasOnGoingEstimation'] = this
|
||||||
|
.listIsPatientHasOnGoingEstimation
|
||||||
|
.map((v) => v.toJson())
|
||||||
|
.toList();
|
||||||
|
}
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class ListIsPatientHasOnGoingEstimation {
|
||||||
|
dynamic setupID;
|
||||||
|
dynamic estimationNo;
|
||||||
|
int projectID;
|
||||||
|
String procedureId;
|
||||||
|
int patientID;
|
||||||
|
int sequenceNo;
|
||||||
|
int neededTime;
|
||||||
|
String procedureName;
|
||||||
|
dynamic procedureNameN;
|
||||||
|
|
||||||
|
ListIsPatientHasOnGoingEstimation(
|
||||||
|
{this.setupID,
|
||||||
|
this.estimationNo,
|
||||||
|
this.projectID,
|
||||||
|
this.procedureId,
|
||||||
|
this.patientID,
|
||||||
|
this.sequenceNo,
|
||||||
|
this.neededTime,
|
||||||
|
this.procedureName,
|
||||||
|
this.procedureNameN});
|
||||||
|
|
||||||
|
ListIsPatientHasOnGoingEstimation.fromJson(Map<String, dynamic> json) {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
estimationNo = json['EstimationNo'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
procedureId = json['ProcedureId'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
sequenceNo = json['sequenceNo'];
|
||||||
|
neededTime = json['NeededTime'];
|
||||||
|
procedureName = json['ProcedureName'];
|
||||||
|
procedureNameN = json['ProcedureNameN'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['EstimationNo'] = this.estimationNo;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProcedureId'] = this.procedureId;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['sequenceNo'] = this.sequenceNo;
|
||||||
|
data['NeededTime'] = this.neededTime;
|
||||||
|
data['ProcedureName'] = this.procedureName;
|
||||||
|
data['ProcedureNameN'] = this.procedureNameN;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,69 @@
|
|||||||
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:hexcolor/hexcolor.dart';
|
||||||
|
|
||||||
|
import 'home_health_care_page.dart';
|
||||||
|
|
||||||
|
class HomeHealthCareIndexPage extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: TranslationBase.of(context).serviceInformation,
|
||||||
|
body: SingleChildScrollView(
|
||||||
|
padding: EdgeInsets.all(12),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Texts(
|
||||||
|
TranslationBase.of(context).homeHealthCare,
|
||||||
|
fontWeight: FontWeight.normal,
|
||||||
|
fontSize: 25,
|
||||||
|
color: Color(0xff60686b),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 12,
|
||||||
|
),
|
||||||
|
Texts(
|
||||||
|
TranslationBase.of(context).homeHealthCareText,
|
||||||
|
fontWeight: FontWeight.normal,
|
||||||
|
fontSize: 17,
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 22,
|
||||||
|
),
|
||||||
|
Center(
|
||||||
|
child: Image.asset(
|
||||||
|
'assets/images/AlHabibMedicalService/Wifi-AR.png')),
|
||||||
|
SizedBox(
|
||||||
|
height: 77,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
)),
|
||||||
|
bottomSheet: Container(
|
||||||
|
height: MediaQuery.of(context).size.height * 0.10,
|
||||||
|
width: double.infinity,
|
||||||
|
child: Column(
|
||||||
|
children: <Widget>[
|
||||||
|
Container(
|
||||||
|
width: MediaQuery.of(context).size.width * 0.9,
|
||||||
|
child: SecondaryButton(
|
||||||
|
onTap: () => Navigator.push(
|
||||||
|
context,
|
||||||
|
FadePage(
|
||||||
|
page: HomeHealthCarePage(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
label: TranslationBase.of(context).loginRegister,
|
||||||
|
textColor: Theme.of(context).backgroundColor),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue