fix
This commit is contained in:
@@ -45,7 +45,7 @@ class ProductListItem extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'Code: ${product.code}',
|
||||
'Mã: ${product.code}',
|
||||
style: textTheme.bodySmall?.copyWith(
|
||||
color: theme.colorScheme.primary,
|
||||
),
|
||||
@@ -65,7 +65,7 @@ class ProductListItem extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
),
|
||||
child: Text(
|
||||
'Active',
|
||||
'Hoạt động',
|
||||
style: textTheme.labelSmall?.copyWith(
|
||||
color: Colors.green,
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -84,7 +84,7 @@ class ProductListItem extends StatelessWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: _InfoItem(
|
||||
label: 'Weight',
|
||||
label: 'Khối lượng',
|
||||
value: '${product.weight.toStringAsFixed(2)} kg',
|
||||
icon: Icons.fitness_center,
|
||||
),
|
||||
@@ -92,7 +92,7 @@ class ProductListItem extends StatelessWidget {
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: _InfoItem(
|
||||
label: 'Pieces',
|
||||
label: 'Số lượng',
|
||||
value: product.pieces.toString(),
|
||||
icon: Icons.inventory_2,
|
||||
),
|
||||
@@ -107,7 +107,7 @@ class ProductListItem extends StatelessWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: _InfoItem(
|
||||
label: 'In Stock (Pieces)',
|
||||
label: 'Tồn kho (SL)',
|
||||
value: product.piecesInStock.toString(),
|
||||
icon: Icons.warehouse,
|
||||
color: product.piecesInStock > 0
|
||||
@@ -118,7 +118,7 @@ class ProductListItem extends StatelessWidget {
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: _InfoItem(
|
||||
label: 'In Stock (Weight)',
|
||||
label: 'Tồn kho (KL)',
|
||||
value: '${product.weightInStock.toStringAsFixed(2)} kg',
|
||||
icon: Icons.scale,
|
||||
color: product.weightInStock > 0
|
||||
@@ -142,7 +142,7 @@ class ProductListItem extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
'Conversion Rate',
|
||||
'Tỷ lệ chuyển đổi',
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
@@ -170,7 +170,7 @@ class ProductListItem extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
'Barcode: ${product.barcode}',
|
||||
'Mã vạch: ${product.barcode}',
|
||||
style: textTheme.bodySmall?.copyWith(
|
||||
color: theme.colorScheme.onSurfaceVariant,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user