remark fix in allergies

merge-requests/280/head
Elham Rababah 5 years ago
parent 7db8a42adc
commit 6820e2d097

@ -120,14 +120,26 @@ class _UpdateAllergiesWidgetState extends State<UpdateAllergiesWidget> {
), ),
Padding( Padding(
padding: const EdgeInsets.symmetric(vertical: 8), padding: const EdgeInsets.symmetric(vertical: 8),
child: Container( child: Row(
width: MediaQuery.of(context).size.width * 0.6, children: [
AppText(
selectedAllergy.remark != null ||
selectedAllergy.remark == ''
? TranslationBase.of(context).remarks + " : "
: '',
fontWeight: FontWeight.bold,
fontSize: 13,
),
Container(
width: MediaQuery.of(context).size.width * 0.55,
child: AppText( child: AppText(
selectedAllergy.remark ?? '', selectedAllergy.remark ?? '',
fontSize: 10, fontSize: 10,
color: Colors.grey, color: Colors.grey,
), ),
), ),
],
),
), ),
DividerWithSpacesAround() DividerWithSpacesAround()
], ],

@ -342,9 +342,11 @@ class _UpdateAssessmentPageState extends State<UpdateAssessmentPage> {
height: 6, height: 6,
), ),
AppText( AppText(
TranslationBase.of(context).remarks + " : ", assessment.remark != null ||
fontWeight: FontWeight assessment.remark == ''
.bold, ? TranslationBase.of(context).remarks + " : "
: '',
fontWeight: FontWeight.bold,
fontSize: 13, fontSize: 13,
), ),
Container( Container(

Loading…
Cancel
Save