Adding missing trailing coma

This commit is contained in:
Erick Zanardo
2020-05-20 21:49:32 -03:00
parent cb31c6a36d
commit cebfe7ac5c

View File

@ -60,9 +60,10 @@ Widget _applyAdvancedGesturesDetectors(Game game, Widget child) {
_tapHandlers.forEach((h) => h.onTapUp?.call(pointerId, d)); _tapHandlers.forEach((h) => h.onTapUp?.call(pointerId, d));
instance.onTapCancel = (pointerId) => instance.onTapCancel = (pointerId) =>
_tapHandlers.forEach((h) => h.onTapCancel?.call(pointerId)); _tapHandlers.forEach((h) => h.onTapCancel?.call(pointerId));
instance.onTap = instance.onTap = (pointerId) =>
(pointerId) => _tapHandlers.forEach((h) => h.onTap?.call(pointerId)); _tapHandlers.forEach((h) => h.onTap?.call(pointerId));
}); },
);
} }
if (game is MultiTouchDragDetector) { if (game is MultiTouchDragDetector) {
@ -80,7 +81,8 @@ Widget _applyAdvancedGesturesDetectors(Game game, Widget child) {
return drag; return drag;
}; };
}); },
);
} }
return RawGestureDetector( return RawGestureDetector(