chitochi / flutter_inset_shadow

This package extends BoxShadow and BoxDecoration to support the inset property. [maintainer=@chitochi]

Home Page:https://pub.dev/packages/flutter_inset_shadow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shadow not rendering on web in a mobile layout

clotodex opened this issue · comments

I have inset shadows that render fine in web, as long as the layout is "desktop" like.
When I either open it on my phone or when I use the debugger in web to force it into a mobile layout the shadows disappear entirely.
I have no clue what could be causing this, any thoughts?

Damn sorry I adhded my way out of this issue. 😆

Thank you for opening this issue, sorry for the delay of my answer!

I haven't done much testing of the web platform to be honest. I have no idea of the cause of this bug, I will try to take some time to reproduce it, but I am not sure when.

If you find anything that could help, don't hesitate! 🙏

(If you could try again using the latest version of the flutter_inset_shadow package (not flutter_box_inset_shadow), that would be really great.)

I'm also facing this issue. Love the package and the way it gives shadows on desktop but it doesn't have the same effect on mobile. I have a word game where I am using this. Here are two images which highlight the difference. I am using flutter_inset_shadow 2.0.3

On Desktop:
image

On Mobile:
WhatsApp Image 2024-06-26 at 12 18 57_6d983dec

Any help is appreciated