|
|
|
|
@ -88,20 +88,16 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 10, right: 10),
|
|
|
|
|
margin: EdgeInsets.only(left: 10, right: 10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.generalResult,
|
|
|
|
|
TranslationBase.of(context).generalResult,
|
|
|
|
|
bold: true,
|
|
|
|
|
))),
|
|
|
|
|
Container(
|
|
|
|
|
width: 25,
|
|
|
|
|
height: 25,
|
|
|
|
|
child: Icon(
|
|
|
|
|
_isShowMoreGeneral
|
|
|
|
|
? Icons.keyboard_arrow_up
|
|
|
|
|
: Icons.keyboard_arrow_down,
|
|
|
|
|
_isShowMoreGeneral ? Icons.keyboard_arrow_up : Icons.keyboard_arrow_down,
|
|
|
|
|
color: Colors.grey[800],
|
|
|
|
|
size: 22,
|
|
|
|
|
),
|
|
|
|
|
@ -132,11 +128,8 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
|
|
|
|
|
model.labResultLists.length,
|
|
|
|
|
(index) => LabResultWidget(
|
|
|
|
|
patientLabOrder: widget.patientLabOrder,
|
|
|
|
|
filterName: model
|
|
|
|
|
.labResultLists[index].filterName,
|
|
|
|
|
patientLabResultList: model
|
|
|
|
|
.labResultLists[index]
|
|
|
|
|
.patientLabResultList,
|
|
|
|
|
filterName: model.labResultLists[index].filterName,
|
|
|
|
|
patientLabResultList: model.labResultLists[index].patientLabResultList,
|
|
|
|
|
patient: widget.patient,
|
|
|
|
|
isInpatient: widget.isInpatient,
|
|
|
|
|
),
|
|
|
|
|
@ -173,20 +166,16 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 10, right: 10),
|
|
|
|
|
margin: EdgeInsets.only(left: 10, right: 10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.specialResult,
|
|
|
|
|
TranslationBase.of(context).specialResult,
|
|
|
|
|
bold: true,
|
|
|
|
|
))),
|
|
|
|
|
Container(
|
|
|
|
|
width: 25,
|
|
|
|
|
height: 25,
|
|
|
|
|
child: Icon(
|
|
|
|
|
_isShowMore
|
|
|
|
|
? Icons.keyboard_arrow_up
|
|
|
|
|
: Icons.keyboard_arrow_down,
|
|
|
|
|
_isShowMore ? Icons.keyboard_arrow_up : Icons.keyboard_arrow_down,
|
|
|
|
|
color: Colors.grey[800],
|
|
|
|
|
size: 22,
|
|
|
|
|
),
|
|
|
|
|
@ -211,14 +200,10 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
child: !Helpers.isTextHtml(widget.details)
|
|
|
|
|
? AppText(
|
|
|
|
|
widget.details ??
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.noDataAvailable,
|
|
|
|
|
widget.details ?? TranslationBase.of(context).noDataAvailable,
|
|
|
|
|
)
|
|
|
|
|
: Html(
|
|
|
|
|
data: widget.details ??
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.noDataAvailable,
|
|
|
|
|
data: widget.details ?? TranslationBase.of(context).noDataAvailable,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|