Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance issue when using Blur as an image item in ListView.builder #4

Closed
AgungLaksana opened this issue May 24, 2021 · 1 comment

Comments

@AgungLaksana
Copy link

AgungLaksana commented May 24, 2021

Hi, I am using Blur widget as an item of my ListView.builder . it makes my app laggy even in release mode. here is the code below I use for Blur. is there a workaround for this?

Blur(
            blur: 2,
            child: CachedNetworkImage(
              imageUrl: thumbnailURL,
              fit: BoxFit.fill,
              height: double.infinity,
              width: double.infinity,
              fadeInCurve: Curves.easeIn,
              fadeInDuration: const Duration(milliseconds: 100),
            ),
          ),
@jagritjkh
Copy link
Owner

Hey, it's not because of Blur, it's because of CachedNetworkImage. I have used cached network image in various projects which feels laggy, still, if you think it's because of blur, kindly drop a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants