feat: alphabet list, change Layout etc
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user