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

Support `ShapeDecoration`

riccardocescon opened this issue · comments

Seems like inset is not working while using ShapeDecoration.
The inset is always disabled

Hello ! Thanks a lot for this feedback.

Currently the library only supports BoxDecoration. I'll investigate the possibility of supporting ShapeDecoration and get back to you. 👀

I think it's possible, but I don't know how expensive it will be in terms of performance. I think it will be fine, though.

I'm going to try to take the time to do that in the next two or three weeks. It's a little more complex to do than the BoxDecoration.

I see, thank you for adding this feature!

I won't be able to implement this feature myself after all, I can't find the time and motivation. 😔

I'll leave the issue open though, in case I find the motivation in the future or in case someone wants to contribute.