Loading video...
Video Failed to Load
New Flutter package: hit Decouple layout size from hit-test size. Make tiny controls easy to tap without breaking your layout. Pub: Demo: #Flutter #hittest
24 Comments

new candidate for and /flutter-improve-design skill

I knew it!!! Hit will be a pleasure to be featured on We all know details matter!

Love this! wish it was native to the framework..

The proposal has some limitation like what happen if you clip the GestureDetecture? Is it clip the hit size or follow hitSlop. I think framework people don't want ambiguity so leave the dirty work to 3rd package is reasonable.

Oh wow, does it work with text spans?

Yes! It is 😍

Coooool, gonna try it

Cool! I used to use but, if i remember correctly, it has an issue where a button still receives hit even when there is a modal blocking on top of it. I use hitSlop in React Native but couldnt find smth close in Flutter. Flutter should have this built-in

The HitSlop approach has a flaw: when you put it in a ListView, the Overlay still displays even if the widget is logically hidden. The hit package still inherits Flutter’s limitations, but it solves this by deferring the hit test to a higher HitScope :-)

What a pretty demo and incredible package!

Thank you!!

@Pope_mk14 Wow. Really awesome stuff Zen!

SmoothCapture spotted, next time try to export using 2k preset, 1080p looks blurry in social media

Yooo, your product is far beyond polished 😍 I just found the SmoothCapture IOS app TODAY. No brainer purchased when it out testflight 👍

I will tweak the default better, and add more presets so you dont need to adjust that much. it almost 1 week and no response from apple reviewer thank you so much!

Uhhh gonna integrate this soon in my project too 🥹

I know what to do with it

Yo that’s awesome

Please try it and give me feedback 💙

this is exactly what I need right now can’t wait to integrate it for my panes package 😆

Ha! It'll be really helpful when increasing the panel resize handle in Lumide 😍

I like this.

Amazing work men !

decoupling hit size from layout size fixes a real tap accuracy problem





