feat: alphabet list, change Layout etc

This commit is contained in:
2026-10-11 20:37:59 +02:00
parent 489896305d
commit 072f560989
31 changed files with 1847 additions and 832 deletions
+10 -5
View File
@@ -90,11 +90,16 @@ class _ProductListViewState extends State<ProductListView> {
),
title: Text(product.name),
subtitle: Text(
l10n.productStockSummary(
l10n.categoryLabel(product.category),
product.priceInCents.asEuro,
product.stockQuantity,
),
product.infiniteStock
? l10n.productInfiniteStockSummary(
l10n.categoryLabel(product.category),
product.priceInCents.asEuro,
)
: l10n.productStockSummary(
l10n.categoryLabel(product.category),
product.priceInCents.asEuro,
product.stockQuantity,
),
),
trailing: const Icon(Icons.chevron_right),
onTap: () => context.push('/products/${product.id}/edit'),