|
|
|
@ -19,7 +19,13 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
final PatiantInformtion patient;
|
|
|
|
final PatiantInformtion patient;
|
|
|
|
final String patientType;
|
|
|
|
final String patientType;
|
|
|
|
final String arrivalType;
|
|
|
|
final String arrivalType;
|
|
|
|
RadiologyDetailsPage({Key key, this.finalRadiology, this.patient, this.patientType, this.arrivalType});
|
|
|
|
|
|
|
|
|
|
|
|
RadiologyDetailsPage(
|
|
|
|
|
|
|
|
{Key key,
|
|
|
|
|
|
|
|
this.finalRadiology,
|
|
|
|
|
|
|
|
this.patient,
|
|
|
|
|
|
|
|
this.patientType,
|
|
|
|
|
|
|
|
this.arrivalType});
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
@ -34,7 +40,6 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
patientType: patientType ?? "0",
|
|
|
|
patientType: patientType ?? "0",
|
|
|
|
arrivalType: arrivalType ?? "0",
|
|
|
|
arrivalType: arrivalType ?? "0",
|
|
|
|
orderNo: finalRadiology.orderNo.toString(),
|
|
|
|
|
|
|
|
appointmentDate: finalRadiology.orderDate,
|
|
|
|
appointmentDate: finalRadiology.orderDate,
|
|
|
|
doctorName: finalRadiology.doctorName,
|
|
|
|
doctorName: finalRadiology.doctorName,
|
|
|
|
profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
@ -56,9 +61,13 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 5,
|
|
|
|
|
|
|
|
),
|
|
|
|
Texts(TranslationBase.of(context).generalResult),
|
|
|
|
Texts(TranslationBase.of(context).generalResult),
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 5,
|
|
|
|
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
child: Texts(
|
|
|
|
child: Texts(
|
|
|
|
@ -68,13 +77,22 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
color: Colors.grey,
|
|
|
|
color: Colors.grey,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(height: 25,),
|
|
|
|
SizedBox(
|
|
|
|
if(model.radImageURL.isNotEmpty)
|
|
|
|
height: 100,
|
|
|
|
Center(
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
bottomSheet: model.radImageURL.isNotEmpty ?Container(
|
|
|
|
|
|
|
|
width: double.maxFinite,
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
|
|
margin: EdgeInsets.only(left: 35,right: 35,top: 12,bottom: 12),
|
|
|
|
child: Button(
|
|
|
|
child: Button(
|
|
|
|
|
|
|
|
|
|
|
|
color: Colors.red,
|
|
|
|
color: Colors.red,
|
|
|
|
onTap: () {
|
|
|
|
onTap: () {
|
|
|
|
launch(model.radImageURL);
|
|
|
|
launch(model.radImageURL);
|
|
|
|
@ -82,13 +100,7 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
title: TranslationBase.of(context).openRad,
|
|
|
|
title: TranslationBase.of(context).openRad,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
):null,
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|