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

bug #8

Open
xaiocaiji7653 opened this issue May 8, 2024 · 2 comments
Open

bug #8

xaiocaiji7653 opened this issue May 8, 2024 · 2 comments
Labels
waiting-for-author-reply Waiting for author to response

Comments

@xaiocaiji7653
Copy link

xaiocaiji7653 commented May 8, 2024

The following code realizes the picture sliding left and right and the background picture has Gaussian blur. How to solve the problem when the picture sliding left and right appears white lines on both sides of the picture


Code:

PageView.builder(
  itemCount: widget.works == null ? 0 : widget.works!.apPhotoEntityList!.length,
  itemBuilder: (context, index) {
    return Stack(
      children: [
        //背景图片
        Image.network(
          widget.works!.apPhotoEntityList![index].imgUrl!,
          fit: BoxFit.cover,
          width: double.infinity,
          height: double.infinity,
        ),
        Align(
          alignment: Alignment.center,
          child: Image.network(
            widget.works!.apPhotoEntityList![index].imgUrl!,
            fit: BoxFit.fitWidth,
          ),
        ).blurry(
          shadowColor: Colors.transparent,
          borderRadius: BorderRadius.zero,
          padding: EdgeInsets.zero,
          blur: 5,
          elevation: 0,
          color: Colors.transparent,
        ),
      ],
    );
  },
)

Screenshot

@kishan-dhankecha
Copy link
Owner

Thanks for filing this issue @xaiocaiji7653.

Can you please provide reproducible steps and code for this so I can directly start fixing relevant bugs instead of recreation the issue on my side?

@kishan-dhankecha kishan-dhankecha added the waiting-for-author-reply Waiting for author to response label May 13, 2024
@yatinj30
Copy link

yatinj30 commented Jun 24, 2024

@xaiocaiji7653 Can you provide reproducible steps, so I can start fixing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-author-reply Waiting for author to response
Projects
None yet
Development

No branches or pull requests

3 participants