|
...
|
...
|
@@ -546,20 +546,20 @@ class _TrendMetric extends StatelessWidget { |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(label,
|
|
|
|
style: const TextStyle(color: Color(0xFF78787D), fontSize: 11)),
|
|
|
|
style: const TextStyle(color: Color(0xFF78787D), fontSize: 12)),
|
|
|
|
const SizedBox(height: 3),
|
|
|
|
Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
children: [
|
|
|
|
Text(context.l10n.hrvTrendDayValue(value),
|
|
|
|
style: const TextStyle(
|
|
|
|
fontSize: 25, fontWeight: FontWeight.w600, height: 1)),
|
|
|
|
fontSize: 26, fontWeight: FontWeight.w600, height: 1)),
|
|
|
|
if (context.l10n.hrvTrendDayUnit.isNotEmpty)
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(left: 4, bottom: 2),
|
|
|
|
child: Text(context.l10n.hrvTrendDayUnit,
|
|
|
|
style: const TextStyle(
|
|
|
|
fontSize: 11, fontWeight: FontWeight.w500)),
|
|
|
|
fontSize: 12, fontWeight: FontWeight.w500)),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
...
|
...
|
@@ -579,7 +579,7 @@ class _TrendMetric extends StatelessWidget { |
|
|
|
Flexible(
|
|
|
|
child: Text(
|
|
|
|
comparison,
|
|
|
|
style: TextStyle(color: comparisonColor, fontSize: 10),
|
|
|
|
style: TextStyle(color: comparisonColor, fontSize: 12),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
...
|
...
|
@@ -847,7 +847,7 @@ class _DistributionCard extends StatelessWidget { |
|
|
|
),
|
|
|
|
const SizedBox(height: 28),
|
|
|
|
SizedBox(
|
|
|
|
width: 216,
|
|
|
|
width: 230,
|
|
|
|
child: _DistributionGrid(report: report),
|
|
|
|
),
|
|
|
|
const SizedBox(height: 20),
|
|
...
|
...
|
@@ -877,14 +877,14 @@ class _DistributionGrid extends StatelessWidget { |
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return LayoutBuilder(
|
|
|
|
builder: (context, constraints) {
|
|
|
|
const spacing = 16.0;
|
|
|
|
const spacing = 14.0;
|
|
|
|
return Wrap(
|
|
|
|
spacing: spacing,
|
|
|
|
runSpacing: 16,
|
|
|
|
runSpacing: 19,
|
|
|
|
children: [
|
|
|
|
for (final level in HrvStressLevel.values)
|
|
|
|
SizedBox(
|
|
|
|
width: 100,
|
|
|
|
width: 105,
|
|
|
|
child: _DistributionItem(level: level, report: report),
|
|
|
|
),
|
|
|
|
],
|
...
|
...
|
|