|
@@ -162,20 +162,25 @@ class FContentImage extends StatelessWidget implements FWidget {
|
|
|
|
|
|
FWidget _buildIndex() {
|
|
|
return FPositioned(
|
|
|
- left: 5,
|
|
|
- child: FRow(
|
|
|
- children: [
|
|
|
- FText(
|
|
|
- (serialNo).toString(),
|
|
|
- style: TextStyle(
|
|
|
- color: Colors.white,
|
|
|
+ left: 0,
|
|
|
+ child: FContainer(
|
|
|
+ padding: EdgeInsets.only(
|
|
|
+ left: 5,
|
|
|
+ ),
|
|
|
+ child: FRow(
|
|
|
+ children: [
|
|
|
+ FText(
|
|
|
+ (serialNo).toString(),
|
|
|
+ style: TextStyle(
|
|
|
+ color: Colors.white,
|
|
|
+ ),
|
|
|
),
|
|
|
- ),
|
|
|
- FSizedBox(
|
|
|
- width: 5,
|
|
|
- ),
|
|
|
- if (isQualityControlled) _buildQualityControlled(),
|
|
|
- ],
|
|
|
+ FSizedBox(
|
|
|
+ width: 5,
|
|
|
+ ),
|
|
|
+ if (isQualityControlled) _buildQualityControlled(),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
),
|
|
|
);
|
|
|
}
|
|
@@ -270,17 +275,22 @@ class FContentImage extends StatelessWidget implements FWidget {
|
|
|
}
|
|
|
|
|
|
return FPositioned(
|
|
|
- bottom: 5,
|
|
|
- left: 5,
|
|
|
- child: FRow(
|
|
|
- children: aIDiagnosticOrgansIconList,
|
|
|
+ bottom: 0,
|
|
|
+ left: 0,
|
|
|
+ child: FContainer(
|
|
|
+ padding: EdgeInsets.only(
|
|
|
+ bottom: 5,
|
|
|
+ left: 5,
|
|
|
+ ),
|
|
|
+ child: FRow(
|
|
|
+ children: aIDiagnosticOrgansIconList,
|
|
|
+ ),
|
|
|
),
|
|
|
);
|
|
|
}
|
|
|
return FPositioned(
|
|
|
- bottom: 5,
|
|
|
- left: 5,
|
|
|
- right: 5,
|
|
|
+ bottom: 0,
|
|
|
+ left: 0,
|
|
|
child: _buildApplication(),
|
|
|
);
|
|
|
}
|
|
@@ -288,6 +298,11 @@ class FContentImage extends StatelessWidget implements FWidget {
|
|
|
///构建描述字段
|
|
|
FWidget _buildApplication() {
|
|
|
return FContainer(
|
|
|
+ margin: EdgeInsets.only(
|
|
|
+ bottom: 5,
|
|
|
+ left: 5,
|
|
|
+ right: 5,
|
|
|
+ ),
|
|
|
child: FText(
|
|
|
description ?? "",
|
|
|
softWrap: true,
|
|
@@ -302,13 +317,18 @@ class FContentImage extends StatelessWidget implements FWidget {
|
|
|
/// 构建图像定位描述
|
|
|
FWidget _buildImageLocationDescription() {
|
|
|
return FPositioned(
|
|
|
- right: 5,
|
|
|
- child: FText(
|
|
|
- locationDescription ?? "",
|
|
|
- style: TextStyle(
|
|
|
- color: Colors.white,
|
|
|
- fontSize: 10,
|
|
|
- overflow: TextOverflow.ellipsis,
|
|
|
+ right: 0,
|
|
|
+ child: FContainer(
|
|
|
+ padding: EdgeInsets.only(
|
|
|
+ right: 5,
|
|
|
+ ),
|
|
|
+ child: FText(
|
|
|
+ locationDescription ?? "",
|
|
|
+ style: TextStyle(
|
|
|
+ color: Colors.white,
|
|
|
+ fontSize: 10,
|
|
|
+ overflow: TextOverflow.ellipsis,
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
);
|
|
@@ -318,40 +338,46 @@ class FContentImage extends StatelessWidget implements FWidget {
|
|
|
var cDNMdlFile = remedicalInfo?.carotidResult?.cDNMdlFile;
|
|
|
var surfaceFile = remedicalInfo?.carotidResult?.surfaceFile;
|
|
|
return FPositioned(
|
|
|
- bottom: 5,
|
|
|
- right: 5,
|
|
|
- child: FRow(
|
|
|
- children: [
|
|
|
- if (isCarotidResult &&
|
|
|
- cDNMdlFile.isNotNullOrEmpty &&
|
|
|
- surfaceFile.isNotNullOrEmpty) ...[
|
|
|
- FIcon(
|
|
|
- FIcons.three_dimensional,
|
|
|
- color: Colors.lightBlue,
|
|
|
- ),
|
|
|
- ],
|
|
|
- if (isShowDiagnosisOrgans) ...[
|
|
|
- const FSizedBox(
|
|
|
- width: 5,
|
|
|
- ),
|
|
|
- FMaterialTooltip(
|
|
|
- textStyle: TextStyle(
|
|
|
- fontSize: 16,
|
|
|
- color: Colors.white,
|
|
|
+ bottom: 0,
|
|
|
+ right: 0,
|
|
|
+ child: FContainer(
|
|
|
+ padding: EdgeInsets.only(
|
|
|
+ bottom: 5,
|
|
|
+ right: 5,
|
|
|
+ ),
|
|
|
+ child: FRow(
|
|
|
+ children: [
|
|
|
+ if (isCarotidResult &&
|
|
|
+ cDNMdlFile.isNotNullOrEmpty &&
|
|
|
+ surfaceFile.isNotNullOrEmpty) ...[
|
|
|
+ FIcon(
|
|
|
+ FIcons.three_dimensional,
|
|
|
+ color: Colors.lightBlue,
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ if (isShowDiagnosisOrgans) ...[
|
|
|
+ const FSizedBox(
|
|
|
+ width: 5,
|
|
|
),
|
|
|
- message: _buildAIText(diagnosisConclusion),
|
|
|
- child: FText(
|
|
|
- 'AI',
|
|
|
- style: TextStyle(
|
|
|
- color: _buildAITextColor(
|
|
|
- diagnosisConclusion,
|
|
|
+ FMaterialTooltip(
|
|
|
+ textStyle: TextStyle(
|
|
|
+ fontSize: 16,
|
|
|
+ color: Colors.white,
|
|
|
+ ),
|
|
|
+ message: _buildAIText(diagnosisConclusion),
|
|
|
+ child: FText(
|
|
|
+ 'AI',
|
|
|
+ style: TextStyle(
|
|
|
+ color: _buildAITextColor(
|
|
|
+ diagnosisConclusion,
|
|
|
+ ),
|
|
|
+ fontSize: 20,
|
|
|
),
|
|
|
- fontSize: 20,
|
|
|
),
|
|
|
),
|
|
|
- ),
|
|
|
+ ],
|
|
|
],
|
|
|
- ],
|
|
|
+ ),
|
|
|
),
|
|
|
);
|
|
|
}
|