Fix: shorten text

This commit is contained in:
2024-06-07 14:57:28 +03:00
parent 0170505376
commit 65c8f56e20
7 changed files with 45 additions and 11 deletions

View File

@@ -46,7 +46,8 @@ class OrderConfirmItemCard extends StatelessWidget {
name,
style: Theme.of(context).textTheme.bodyLarge,
),
Text('$price руб. x $count = ${price * count} руб.'),
Text(
'${price.toStringAsFixed(2)} руб. x $count = ${(price * count).toStringAsFixed(2)} руб.'),
],
)
],