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

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

Loading…
Cancel
Save