Loading video...

Video Failed to Load

Go Home

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

17,751 views • 2 months ago •via X (Twitter)

24 Comments

Kamran Bekirov's profile picture
Kamran Bekirov2 months ago

new candidate for and /flutter-improve-design skill

Zen Bui's profile picture
Zen Bui2 months ago

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

APEALED 🗿's profile picture
APEALED 🗿2 months ago

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

Zen Bui's profile picture
Zen Bui2 months ago

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.

Roman Ismagilov's profile picture
Roman Ismagilov2 months ago

Oh wow, does it work with text spans?

Zen Bui's profile picture
Zen Bui2 months ago

Yes! It is 😍

Roman Ismagilov's profile picture
Roman Ismagilov2 months ago

Coooool, gonna try it

Hary Suryanto's profile picture
Hary Suryanto2 months ago

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

Zen Bui's profile picture
Zen Bui2 months ago

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 :-)

Birju Vachhani 💙's profile picture
Birju Vachhani 💙2 months ago

What a pretty demo and incredible package!

Zen Bui's profile picture
Zen Bui2 months ago

Thank you!!

CJ's profile picture
CJ2 months ago

@Pope_mk14 Wow. Really awesome stuff Zen!

Vu Nguyen's profile picture
Vu Nguyen2 months ago

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

Zen Bui's profile picture
Zen Bui2 months ago

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

Vu Nguyen's profile picture
Vu Nguyen2 months ago

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!

Francesco Coppola's profile picture
Francesco Coppola2 months ago

Uhhh gonna integrate this soon in my project too 🥹

Dzung Nguyen Minh's profile picture
Dzung Nguyen Minh2 months ago

I know what to do with it

Hamza Imran's profile picture
Hamza Imran2 months ago

Yo that’s awesome

Zen Bui's profile picture
Zen Bui2 months ago

Please try it and give me feedback 💙

Simon 🦊💙's profile picture
Simon 🦊💙2 months ago

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

Zen Bui's profile picture
Zen Bui2 months ago

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

WOOBACK's profile picture
WOOBACK2 months ago

I like this.

Luis Gamas's profile picture
Luis Gamas2 months ago

Amazing work men !

AI Mastery Guide's profile picture
AI Mastery Guide2 months ago

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

Related Videos