openKeyboard static method

void openKeyboard()

Opens the software keyboard.

This method requests focus on an empty focus node to open the keyboard.

Example:

EaseDevice.openKeyboard();

Implementation

static void openKeyboard() {
  FocusScope.of(Utils.globalKey.currentContext!).requestFocus(FocusNode());
}