最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

flutter - possible pass gesture through transparent parts of image? - Stack Overflow

programmeradmin1浏览0评论

I'm trying to make a puzzle and I have a Stack with multiple images overlayed on top of each other. Every puzzle piece image has transparent parts allowing all the puzzle parts to appear to fit snuggly together. However, it seems like despite the transparency, each piece still maintains the original image dimensions and prevents me from tapping any other pieces below them in the stack.

Is there a way, other than manually clipping all these pieces, to have flutter automatically ignore the transparent parts of images and allow gestures to only register on the non-transparent pieces themselves?

发布评论

评论列表(0)

  1. 暂无评论