|
|
|
@ -42,7 +42,10 @@ class LabOrderResultItem extends StatelessWidget {
|
|
|
|
padding: EdgeInsets.only(bottom: 8.h),
|
|
|
|
padding: EdgeInsets.only(bottom: 8.h),
|
|
|
|
child: '${tests!.description}'.toText14(weight: FontWeight.w500),
|
|
|
|
child: '${tests!.description}'.toText14(weight: FontWeight.w500),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(tests!.packageShortDescription ?? "").toText12(fontWeight: FontWeight.w500, color: AppColors.textColorLight),
|
|
|
|
// (tests!.packageShortDescription ?? "").toText12(fontWeight: FontWeight.w500, color: AppColors.textColorLight),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((tests!.testShortDescription != null && tests!.testShortDescription!.isNotEmpty) ? tests!.testShortDescription : tests!.packageShortDescription)!
|
|
|
|
|
|
|
|
.toText12(fontWeight: FontWeight.w500, color: AppColors.textColorLight),
|
|
|
|
SizedBox(height: 12.h),
|
|
|
|
SizedBox(height: 12.h),
|
|
|
|
Directionality(
|
|
|
|
Directionality(
|
|
|
|
textDirection: ui.TextDirection.ltr,
|
|
|
|
textDirection: ui.TextDirection.ltr,
|
|
|
|
@ -65,7 +68,9 @@ class LabOrderResultItem extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: 4.h,),
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
width: 4.h,
|
|
|
|
|
|
|
|
),
|
|
|
|
Visibility(
|
|
|
|
Visibility(
|
|
|
|
// visible: tests?.checkIfGraphShouldBeDisplayed() == true,
|
|
|
|
// visible: tests?.checkIfGraphShouldBeDisplayed() == true,
|
|
|
|
visible: true,
|
|
|
|
visible: true,
|
|
|
|
@ -102,14 +107,8 @@ class LabOrderResultItem extends StatelessWidget {
|
|
|
|
spacing: 6.h,
|
|
|
|
spacing: 6.h,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
severityText.tr().toText10(
|
|
|
|
severityText.tr().toText10(weight: FontWeight.w500, color: AppColors.greyTextColor),
|
|
|
|
weight: FontWeight.w500,
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.lab_result_indicator, width: 21, height: 23, iconColor: iconColor),
|
|
|
|
color: AppColors.greyTextColor),
|
|
|
|
|
|
|
|
Utils.buildSvgWithAssets(
|
|
|
|
|
|
|
|
icon: AppAssets.lab_result_indicator,
|
|
|
|
|
|
|
|
width: 21,
|
|
|
|
|
|
|
|
height: 23,
|
|
|
|
|
|
|
|
iconColor: iconColor),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|