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