fix loading layput
This commit is contained in:
parent
4634a27a59
commit
d4a50548e1
1 changed files with 3 additions and 1 deletions
|
@ -44,9 +44,11 @@ class ProductCard extends StatelessWidget {
|
|||
child: CachedNetworkImage(
|
||||
imageUrl: imageUrl,
|
||||
placeholder: (context, url) =>
|
||||
const CircularProgressIndicator(
|
||||
const Center(
|
||||
child: CircularProgressIndicator(
|
||||
color: Color(0xff8B0000),
|
||||
),
|
||||
),
|
||||
errorWidget: (context, url, error) =>
|
||||
Image.asset('assets/image-error.webp'),
|
||||
fadeOutDuration: const Duration(milliseconds: 5),
|
||||
|
|
Loading…
Add table
Reference in a new issue