go method

Future go(
  1. Widget page
)

Implementation

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