feat: product image and printer type
This commit is contained in:
@@ -28,9 +28,9 @@ class DetailProductDialog extends StatelessWidget {
|
||||
ClipRRect(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: CachedNetworkImage(
|
||||
imageUrl: product.name!.contains('http')
|
||||
? product.name!
|
||||
: '${Variables.baseUrl}/${product.name}',
|
||||
imageUrl: (product.imageUrl ?? "").contains('http')
|
||||
? product.imageUrl!
|
||||
: '${Variables.baseUrl}/${product.imageUrl}',
|
||||
fit: BoxFit.cover,
|
||||
width: 120,
|
||||
height: 120,
|
||||
|
||||
Reference in New Issue
Block a user