|
|
|
@ -63,13 +63,12 @@ class LabOrderResultItem extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
letterSpacing: -2,
|
|
|
|
letterSpacing: -2,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
overflow: TextOverflow.ellipsis, // prevent overflow
|
|
|
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
|
|
|
softWrap: false,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: 4.h,),
|
|
|
|
SizedBox(width: 4.h,),
|
|
|
|
Expanded(
|
|
|
|
Visibility(
|
|
|
|
|
|
|
|
visible: tests?.checkIfGraphShouldBeDisplayed() == true,
|
|
|
|
|
|
|
|
child: Expanded(
|
|
|
|
flex: 2,
|
|
|
|
flex: 2,
|
|
|
|
child: Visibility(
|
|
|
|
child: Visibility(
|
|
|
|
visible: tests?.referanceRange != null,
|
|
|
|
visible: tests?.referanceRange != null,
|
|
|
|
@ -87,25 +86,31 @@ class LabOrderResultItem extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
SizedBox(height: 12.h),
|
|
|
|
SizedBox(height: 12.h),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
Visibility(
|
|
|
|
|
|
|
|
visible: tests?.checkIfGraphShouldBeDisplayed() == true,
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
spacing: 6.h,
|
|
|
|
spacing: 6.h,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
severityText.tr().toText10(weight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
severityText.tr().toText10(
|
|
|
|
|
|
|
|
weight: FontWeight.w500,
|
|
|
|
|
|
|
|
color: AppColors.greyTextColor),
|
|
|
|
Utils.buildSvgWithAssets(
|
|
|
|
Utils.buildSvgWithAssets(
|
|
|
|
icon: AppAssets.lab_result_indicator,
|
|
|
|
icon: AppAssets.lab_result_indicator,
|
|
|
|
width: 21,
|
|
|
|
width: 21,
|
|
|
|
height: 23,
|
|
|
|
height: 23,
|
|
|
|
iconColor: iconColor
|
|
|
|
iconColor: iconColor),
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
CustomButton(
|
|
|
|
CustomButton(
|
|
|
|
icon: AppAssets.view_report_icon,
|
|
|
|
icon: AppAssets.view_report_icon,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
|