|
...
|
...
|
@@ -15,7 +15,7 @@ class TodayHrvNumberCard extends StatelessWidget { |
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Container(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 16),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
borderRadius: BorderRadius.circular(16),
|
|
...
|
...
|
@@ -87,7 +87,7 @@ class _NumberItem extends StatelessWidget { |
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Padding(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 12),
|
|
|
|
padding: const EdgeInsets.only(left: 20, right: 2),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
...
|
...
|
@@ -105,11 +105,8 @@ class _NumberItem extends StatelessWidget { |
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (interactionEnabled != null)
|
|
|
|
FriendInteractionButton(enabled: interactionEnabled!),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
const SizedBox(height: 6),
|
|
|
|
Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
children: [
|
|
...
|
...
|
@@ -124,7 +121,7 @@ class _NumberItem extends StatelessWidget { |
|
|
|
),
|
|
|
|
const SizedBox(width: 4),
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(bottom: 3),
|
|
|
|
padding: const EdgeInsets.only(bottom: 0),
|
|
|
|
child: Text(
|
|
|
|
unit,
|
|
|
|
style: TextStyle(
|
|
...
|
...
|
@@ -134,6 +131,18 @@ class _NumberItem extends StatelessWidget { |
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (interactionEnabled != null) ...[
|
|
|
|
const SizedBox(width: 8),
|
|
|
|
FriendInteractionButton(
|
|
|
|
enabled: interactionEnabled!,
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
left: 8,
|
|
|
|
right: 20,
|
|
|
|
top: 8,
|
|
|
|
bottom: 0,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
...
|
...
|
|