Skip to content

Commit

Permalink
solve counter button overflow problem
Browse files Browse the repository at this point in the history
  • Loading branch information
sinasystem committed Jun 24, 2022
1 parent 6c825ce commit ef72c07
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions lib/src/view/widget/cart_list_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class CartListView extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
ClipRRect(
borderRadius: BorderRadius.circular(15.0),
child: Image.asset(
furniture.images[0],
width: 150,
height: 150,
Expanded(
child: ClipRRect(
borderRadius: BorderRadius.circular(15.0),
child: Image.asset(
furniture.images[0],
),
),
),
const SizedBox(width: 5),
Expand Down Expand Up @@ -56,9 +56,7 @@ class CartListView extends StatelessWidget {
],
),
// Spacer(),
Expanded(
child: counterButton(furniture),
)
counterButton(furniture)
],
).fadeAnimation(0.4*index),
);
Expand Down

0 comments on commit ef72c07

Please sign in to comment.