expand_hit_test

Last updated:

0 purchases

expand_hit_test Image
expand_hit_test Images
Add to Cart

Description:

expand hit test

A flutter package for expand hit test area. Several default widgets are provided and can be easily customized
Usage #
Default widget by extends InkWell
ExpandInkWell(
expandArea:const EdgeInsets.all(30),
onTap: () {
debugPrint("expand inkwell tap");
},
child: Container(color: Colors.red, height: 100, width: 100))
copied to clipboard
Default widget by extends GestureDetector
ExpandGestureDetector(
expandArea:const EdgeInsets.all(30),
onTap: () {
debugPrint("expand GestureDetector tap");
},
child: Container(color: Colors.red, height: 100, width: 100))
copied to clipboard
Custom
ExpandHitTestWidget(
expandArea:const EdgeInsets.all(30),
child: CupertinoButton(padding: EdgeInsets.zero,child: Container(color: Colors.red, height: 100, width: 100),
onPressed: () {
debugPrint("expand CupertinoButton tap");
}))
copied to clipboard
Need to go beyond the parent
ExpandHitTestScope(child: xxxxx)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.