blur method

void blur()

Implementation

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