xOnTap method
Implementation
Widget xOnTap(Function onTap,
{bool enable = true, bool withContainer = false, int cd = 800}) {
if (withContainer) {
return box.color(UIData.clickColor()).make()._tap(() {
if (enable) {
onTap();
}
});
}
return _tap(() {
if (enable) {
onTap();
}
}, cd: cd);
}