Future go(Widget page) { if (isKeyboardOpened) { hideKeyboard; return afterDelay(function: () => navigator.push(route(page))); } else { return navigator.push(route(page)); } }