autofocus method

void autofocus([
  1. FocusNode? focusNode
])

自动获取焦点

Implementation

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