v1.1.1expand_tap_area
手动扩展小部件的点击区域,而不会改变其大小或布局。类似于 iOS 开发中的 hitTest。
60喜欢 2.3万近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
手动扩展小部件的点击区域,而不会改变其大小或布局。类似于 iOS 开发中的 hitTest。
以下为英文项目原文快照,最新内容请访问 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(),
),
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗