fix: card width
This commit is contained in:
@@ -27,9 +27,10 @@ class ProductCard extends StatelessWidget {
|
|||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
minHeight: 160,
|
minHeight: 160,
|
||||||
maxHeight: getCardHeight(context: context),
|
maxHeight: getCardHeight(context: context),
|
||||||
),
|
minWidth: 180,
|
||||||
|
maxWidth: 250),
|
||||||
child: Card(
|
child: Card(
|
||||||
elevation: 3,
|
elevation: 3,
|
||||||
color: Theme.of(context).scaffoldBackgroundColor,
|
color: Theme.of(context).scaffoldBackgroundColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user