Skip to content

Commit

Permalink
Refactor product image widget by adding padding to image and change b…
Browse files Browse the repository at this point in the history
…ackground color
  • Loading branch information
bstawy committed Sep 14, 2024
1 parent bd12c99 commit bfb208b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ class ProductImageWidget extends StatelessWidget {
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
color: const Color(0xFFCFCECA),
color: const Color(0xFFFFFFFF),
borderRadius: BorderRadius.only(
topLeft: Radius.circular(12.r),
topRight: Radius.circular(12.r),
),
),
padding: EdgeInsets.only(top: 8.h, left: 8.w, right: 8.w),
child: CachedNetworkImage(
imageUrl: imageUrl,
placeholder: (context, url) {
Expand Down

0 comments on commit bfb208b

Please sign in to comment.