pull/227/head
haroon amjad 2 days ago
parent c5b91a0bb5
commit e60d2566d9

@ -136,7 +136,7 @@ class LabResultByClinic extends StatelessWidget {
).paddingAll(24.h),
)),
),
Container(
Utils.havePrivilege(115) ? Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 24.h,
@ -183,7 +183,7 @@ class LabResultByClinic extends StatelessWidget {
context.pop();
});
}),
),
) : SizedBox.shrink(),
],
),
);

@ -156,7 +156,7 @@ class _LabResultDetailsState extends State<LabResultDetails> {
),
),
),
labVM.labOrderResponseByAi == null ? Container(
Utils.havePrivilege(115) ? labVM.labOrderResponseByAi == null ? Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 24.h,
@ -203,7 +203,7 @@ class _LabResultDetailsState extends State<LabResultDetails> {
context.pop();
});
}),
) : SizedBox.shrink(),
) : SizedBox.shrink() : SizedBox.shrink(),
],
);
}),

@ -196,8 +196,7 @@ class _RadiologyResultPageState extends State<RadiologyResultPage> {
),
),
),
radVM.radiologyAiAnalysisResponse == null
? Container(
Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 24.h,
@ -230,7 +229,8 @@ class _RadiologyResultPageState extends State<RadiologyResultPage> {
iconSize: 20.h,
).paddingSymmetrical(24.h, 0.h)
: SizedBox.shrink(),
Container(
Utils.havePrivilege(116) ? radVM.radiologyAiAnalysisResponse == null
? Container(
height: 56.h,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12.r),
@ -274,11 +274,10 @@ class _RadiologyResultPageState extends State<RadiologyResultPage> {
context.pop();
},
);
}),
}) : SizedBox.shrink() : SizedBox(height: 24.h),
],
),
)
: SizedBox.shrink(),
),
],
);
}),

Loading…
Cancel
Save