|
@@ -68,9 +68,9 @@ class _ResultInfoState extends State<ResultInfo> {
|
|
|
left: 8,
|
|
|
right: 8,
|
|
|
),
|
|
|
- child: const Text(
|
|
|
- 'AI诊断结果',
|
|
|
- style: TextStyle(
|
|
|
+ child: Text(
|
|
|
+ i18nBook.measure.aiDiagnosticResults.t,
|
|
|
+ style: const TextStyle(
|
|
|
color: Colors.white,
|
|
|
),
|
|
|
),
|
|
@@ -81,28 +81,30 @@ class _ResultInfoState extends State<ResultInfo> {
|
|
|
Row(
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
children: [
|
|
|
- Container(
|
|
|
- padding: const EdgeInsets.only(
|
|
|
- left: 10,
|
|
|
- ),
|
|
|
- child: Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
- mainAxisAlignment: MainAxisAlignment.start,
|
|
|
- children: [
|
|
|
- _buildTitle(
|
|
|
- i18nBook.measure.diseaseLabels.t,
|
|
|
- _buildAITitle(),
|
|
|
- ),
|
|
|
- if (descriptions != '' && descriptions != null)
|
|
|
+ Expanded(
|
|
|
+ child: Container(
|
|
|
+ padding: const EdgeInsets.only(
|
|
|
+ left: 10,
|
|
|
+ ),
|
|
|
+ child: Column(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ mainAxisAlignment: MainAxisAlignment.start,
|
|
|
+ children: [
|
|
|
_buildTitle(
|
|
|
- i18nBook.measure.isLesionSize.t,
|
|
|
- _buildLesionSize(
|
|
|
- descriptions?['HorizontalLengthInPixel'] ?? 0,
|
|
|
- descriptions?['VerticalLengthInPixel'] ?? 0,
|
|
|
- unitsPhysicalPixels,
|
|
|
- ),
|
|
|
- )
|
|
|
- ],
|
|
|
+ i18nBook.measure.diseaseLabels.t,
|
|
|
+ _buildAITitle(),
|
|
|
+ ),
|
|
|
+ if (descriptions != '' && descriptions != null)
|
|
|
+ _buildTitle(
|
|
|
+ i18nBook.measure.isLesionSize.t,
|
|
|
+ _buildLesionSize(
|
|
|
+ descriptions?['HorizontalLengthInPixel'] ?? 0,
|
|
|
+ descriptions?['VerticalLengthInPixel'] ?? 0,
|
|
|
+ unitsPhysicalPixels,
|
|
|
+ ),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
Container(
|