|
|
|
@ -50,7 +50,7 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return AppScaffold(
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBarTitle: "Symptoms",
|
|
|
|
|
appBarTitle: TranslationBase.of(context).chiefComplaints,
|
|
|
|
|
showNewAppBar: true,
|
|
|
|
|
showNewAppBarTitle: true,
|
|
|
|
|
isShowDecPage: false,
|
|
|
|
@ -77,13 +77,15 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
|
: Container(
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(top: 10.0),
|
|
|
|
|
child: Text(TranslationBase.of(context).dentalProcedureList, textAlign: TextAlign.center, style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold, letterSpacing: 0.5)),
|
|
|
|
|
margin: EdgeInsets.only(top: 12.0, left: 12.0, right: 12.0),
|
|
|
|
|
child: Text(TranslationBase.of(context).dentalProcedureList, style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(top: 20.0),
|
|
|
|
|
decoration: cardRadius(10),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Table(
|
|
|
|
|
children: getProceduresData(),
|
|
|
|
|
),
|
|
|
|
@ -148,17 +150,14 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(TranslationBase.of(context).procedureName, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(TranslationBase.of(context).procedureName, style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(bottom: 10.0),
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(TranslationBase.of(context).timeNeeded, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(TranslationBase.of(context).timeNeeded, style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
@ -167,18 +166,12 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
|
dentalProceduresModel.listIsPatientHasOnGoingEstimation.forEach((procedure) {
|
|
|
|
|
tableRow.add(TableRow(children: [
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(procedure.procedureName, textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(procedure.procedureName, style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(procedure.neededTime.toString() + " mins", textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(procedure.neededTime.toString() + " " + TranslationBase.of(context).minute, style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
]));
|
|
|
|
|
});
|
|
|
|
@ -186,19 +179,12 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
|
TableRow(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(TranslationBase.of(context).totalTimeNeeded, textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(TranslationBase.of(context).totalTimeNeeded, style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(bottom: 10.0),
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(totalAppointmentTime.toString() + " mins", textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.all(12.0),
|
|
|
|
|
child: Text(totalAppointmentTime.toString() + " " + TranslationBase.of(context).minute, style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, letterSpacing: -0.46)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|