Skip to content

Commit

Permalink
image loader fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Sep 28, 2024
1 parent e47e9cf commit 87c9f61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/utils/load_Image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class _LoadImageCachedState extends State<LoadImageCached> {
Widget build(BuildContext context) {
return CachedNetworkImage(
imageUrl: widget.imageUrl,
useOldImageOnUrlChange: true,
placeholder: (context, url) => Image(
image: const AssetImage("assets/icons/lazy_loading.png"),
fit: widget.fit,
Expand All @@ -112,10 +111,10 @@ class _LoadImageCachedState extends State<LoadImageCached> {
image: AssetImage(widget.placeholderUrl),
fit: widget.fit,
),
fadeInDuration: const Duration(milliseconds: 700),
fadeInDuration: const Duration(milliseconds: 300),
fit: widget.fit,
),
fadeInDuration: const Duration(milliseconds: 700),
fadeInDuration: const Duration(milliseconds: 300),
fit: widget.fit,
);
}
Expand Down

0 comments on commit 87c9f61

Please sign in to comment.