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
+5
View File
@@ -21,6 +21,7 @@ abstract class ProductService {
required String category,
required int stockQuantity,
required int lowStockThreshold,
bool infiniteStock = false,
required int priceInCents,
required String? imagePath,
});
@@ -47,6 +48,7 @@ class DriftProductService implements ProductService {
category: row.category,
stockQuantity: row.stockQuantity,
lowStockThreshold: row.lowStockThreshold,
infiniteStock: row.infiniteStock,
priceInCents: row.priceInCents,
imagePath: row.imagePath,
active: row.active,
@@ -89,6 +91,7 @@ class DriftProductService implements ProductService {
required String category,
required int stockQuantity,
required int lowStockThreshold,
bool infiniteStock = false,
required int priceInCents,
required String? imagePath,
}) async {
@@ -101,6 +104,7 @@ class DriftProductService implements ProductService {
category: category,
stockQuantity: stockQuantity,
lowStockThreshold: lowStockThreshold,
infiniteStock: Value(infiniteStock),
priceInCents: priceInCents,
imagePath: Value(imagePath),
),
@@ -118,6 +122,7 @@ class DriftProductService implements ProductService {
category: Value(product.category),
stockQuantity: Value(product.stockQuantity),
lowStockThreshold: Value(product.lowStockThreshold),
infiniteStock: Value(product.infiniteStock),
priceInCents: Value(product.priceInCents),
imagePath: Value(product.imagePath),
active: Value(product.active),