Merge branch 'fix_issues' into 'development'

remark fix in allergies

See merge request Cloud_Solution/doctor_app_flutter!280
merge-requests/281/merge
Mohammad Aljammal 5 years ago
commit abcd7e9833

@ -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