v1.1.1expand_tap_area
बिना उसके आकार या लेआउट को बदले एक विजेट के टैप क्षेत्र को हाथ से बढ़ाएं। iOS विकास में hitTest के समान।
60लाइक 31.5 हज़ार30-दिन डाउनलोड140Pub अंक
AndroidiOSWebmacOSWindowsLinux
बिना उसके आकार या लेआउट को बदले एक विजेट के टैप क्षेत्र को हाथ से बढ़ाएं। iOS विकास में hitTest के समान।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Manually expand the tap area of a widget without changing its size or layout. Similar with the hitTest in iOS development.
In the Human Interface Guidelines, Apple recommends a minimum target size of 44 x 44 px.
In the Android Material Design Guidelines, it’s suggested that touch targets should be at least 48 x 48 dp.
Inspired by issue
ExpandTapWidget(
onTap: () {},
tapPadding: EdgeInsets.all(25.0),
child: smallWidget(),
),
| https://raw.githubusercontent.com/malikwang/expand_tap_area/master/images/1.png | https://raw.githubusercontent.com/malikwang/expand_tap_area/master/images/2.png |