|
|
|
|
@ -45,25 +45,6 @@ class LabResultWidget extends StatelessWidget {
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(filterName),
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: (){
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: LabResultHistoryPage(
|
|
|
|
|
filterName: filterName,
|
|
|
|
|
patientLabOrder: patientLabOrder,
|
|
|
|
|
patient: patient,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
child: AppText(
|
|
|
|
|
" (show details)",
|
|
|
|
|
color: Colors.blue,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
@ -138,7 +119,27 @@ class LabResultWidget extends StatelessWidget {
|
|
|
|
|
...List.generate(
|
|
|
|
|
patientLabResultList.length,
|
|
|
|
|
(index) => Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: (){
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: LabResultHistoryPage(
|
|
|
|
|
filterName: patientLabResultList[index].description,
|
|
|
|
|
patientLabOrder: patientLabOrder,
|
|
|
|
|
patient: patient,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
child: AppText(
|
|
|
|
|
" (show details)",
|
|
|
|
|
color: Colors.blue,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
|