remark fix in allergies

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

@ -120,13 +120,25 @@ 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: [
child: AppText( AppText(
selectedAllergy.remark ?? '', selectedAllergy.remark != null ||
fontSize: 10, selectedAllergy.remark == ''
color: Colors.grey, ? TranslationBase.of(context).remarks + " : "
), : '',
fontWeight: FontWeight.bold,
fontSize: 13,
),
Container(
width: MediaQuery.of(context).size.width * 0.55,
child: AppText(
selectedAllergy.remark ?? '',
fontSize: 10,
color: Colors.grey,
),
),
],
), ),
), ),
DividerWithSpacesAround() DividerWithSpacesAround()

@ -342,11 +342,13 @@ 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 + " : "
fontSize: 13, : '',
), fontWeight: FontWeight.bold,
fontSize: 13,
),
Container( Container(
width: MediaQuery width: MediaQuery
.of(context) .of(context)

Loading…
Cancel
Save