dismiss method

void dismiss()

Implementation

void dismiss() {
  var _currentContext = currentContext;
  if (_currentContext != null) {
    // 将焦点交回给上一层,隐藏软键盘
    LogUtils.i("text_input", "dismiss text input");
    FocusScope.of(_currentContext).requestFocus();
  }
}