toggleKeyboard static method

void toggleKeyboard()

切换键盘显示状态

Implementation

static void toggleKeyboard() {
  SystemChannels.textInput.invokeMethod('TextInput.hide');
  SystemChannels.textInput.invokeMethod('TextInput.show');
}