requestFocus method

void requestFocus([
  1. FocusNode? focusNode
])

focusNode==null 移出焦点 (可用于关闭键盘) focusNode!!= null 获取焦点

Implementation

void requestFocus([FocusNode? focusNode]) =>
    focusScope.requestFocus(focusNode ?? FocusNode());