mergeTapOutsideHandler function
Implementation
void Function(PointerDownEvent)? mergeTapOutsideHandler(
void Function(PointerDownEvent)? a,
void Function(PointerDownEvent)? b,
) {
if (a == null && b == null) {
return null;
}
if (a == null) {
return b;
}
if (b == null) {
return a;
}
return (it) {
a(it);
b(it);
};
}