VA-38820 fix

ipd-changes-for-vida-plus
parent 412afbb532
commit 4e42ea7bcc

@ -1141,7 +1141,7 @@ const Map<String, Map<String, String>> localizedValues = {
"en": "Condition On Discharge",
"ar": "الحالة عند الاخراج"
},
"planedProcedure": {"en": "Planed Procedure", "ar": "الإجراء المخطط"},
"planedProcedure": {"en": "Planned Procedure", "ar": "الإجراء المخطط"},
"moreDetails": {"en": "More Details", "ar": "المزيد من التفاصيل"},
"VTE_Type": {"en": "VTE Type", "ar": "VTE Type"},
"pharmacology": {"en": "Pharmacology", "ar": "علم العقاقير"},

@ -130,30 +130,33 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
SizedBox(
height: 5.0,
),
Container(
width: MediaQuery.of(context).size.width * 0.5,
child: RichText(
maxLines: 3,
overflow: TextOverflow.ellipsis,
text: new TextSpan(
style: new TextStyle(fontSize: 1.3 * SizeConfig.textMultiplier!, color: Color(0xFF575757)),
children: <TextSpan>[
new TextSpan(
text: TranslationBase.of(context).investigation + ": ",
style: TextStyle(
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.8,
color: Color(0xFF575757),
//TranslationBase.of(context).doctorResponse + " : ",
)),
new TextSpan(
text: Utils.parseHtmlString(widget.dischargeSummary.investigations ?? ""),
style: TextStyle(
fontFamily: 'Poppins',
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 3,
color: Color(0xFF2E303A),
fontWeight: FontWeight.w700,
)),
],
Visibility(
visible: Utils.parseHtmlString(widget.dischargeSummary.investigations ?? "").isNotEmpty,
child: Container(
width: MediaQuery.of(context).size.width * 0.5,
child: RichText(
maxLines: 3,
overflow: TextOverflow.ellipsis,
text: new TextSpan(
style: new TextStyle(fontSize: 1.3 * SizeConfig.textMultiplier!, color: Color(0xFF575757)),
children: <TextSpan>[
new TextSpan(
text: TranslationBase.of(context).investigation + ": ",
style: TextStyle(
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.8,
color: Color(0xFF575757),
//TranslationBase.of(context).doctorResponse + " : ",
)),
new TextSpan(
text: Utils.parseHtmlString(widget.dischargeSummary.investigations ?? ""),
style: TextStyle(
fontFamily: 'Poppins',
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 3,
color: Color(0xFF2E303A),
fontWeight: FontWeight.w700,
)),
],
),
),
),
),
@ -169,7 +172,7 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
style: new TextStyle(fontSize: 1.3 * SizeConfig.textMultiplier!, color: Color(0xFF575757)),
children: <TextSpan>[
new TextSpan(
text: TranslationBase.of(context).investigation + ": ",
text: TranslationBase.of(context).condition + ": ",
style: TextStyle(
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.8,
color: Color(0xFF575757),

Loading…
Cancel
Save