@ -15,27 +15,33 @@ class ProceduresWidget extends StatelessWidget {
@ override
Widget build ( BuildContext context ) {
return CardWithBgWidget (
return
CardWithBgWidget (
bgColor: Colors . transparent ,
widget: Column (
widget:
Column (
children: [
Row (
mainAxisAlignment: MainAxisAlignment . spaceBetween ,
children: [
CustomRow (
label: " ${ TranslationBase . of ( context ) . codeNo } : " ,
value: " ${ procedure . achiCode } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
Expanded (
child: CustomRow (
label: " ${ TranslationBase . of ( context ) . codeNo } : " ,
value: " ${ procedure . achiCode } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
) ,
) ,
SizedBox ( width: 10 , ) ,
CustomRow (
label: " ${ TranslationBase . of ( context ) . quantity } : " ,
value: " 1 " , / / done as prescribed https: / / cloudsolutions - sa . atlassian . net / browse / V4 - 40476 ? focusedCommentId = 471705
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
Expanded (
child: CustomRow (
label: " ${ TranslationBase . of ( context ) . quantity } : " ,
value: " 1 " , / / done as prescribed https: / / cloudsolutions - sa . atlassian . net / browse / V4 - 40476 ? focusedCommentId = 471705
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
) ,
) ,
] ,
) ,
@ -54,22 +60,26 @@ class ProceduresWidget extends StatelessWidget {
Row (
mainAxisAlignment: MainAxisAlignment . spaceBetween ,
children: [
CustomRow (
label: " ${ TranslationBase . of ( context ) . covered } : " ,
value: " ${ procedure . isCovered } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
valueColor: procedure . isCovered !
? AppGlobal . appGreenColor
: AppGlobal . appRedColor ,
Expanded (
child: CustomRow (
label: " ${ TranslationBase . of ( context ) . covered } : " ,
value: " ${ procedure . isCovered } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
valueColor: procedure . isCovered !
? AppGlobal . appGreenColor
: AppGlobal . appRedColor ,
) ,
) ,
CustomRow (
label: " ${ TranslationBase . of ( context ) . approvalRequired } : " ,
value: " ${ procedure . isApprovalRequired } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
Expanded (
child: CustomRow (
label: " ${ TranslationBase . of ( context ) . approvalRequired } : " ,
value: " ${ procedure . isApprovalRequired } " ,
isExpanded: false ,
valueSize: SizeConfig . textMultiplier ! * 1.8 ,
labelSize: SizeConfig . textMultiplier ! * 1.6 ,
) ,
) ,
@ -93,6 +103,7 @@ class ProceduresWidget extends StatelessWidget {
height: 16 ,
)
] ,
) ) ;
)
) ;
}
}