dismissKeyboard method

void dismissKeyboard()

Dismisses the keyboard (by removing the focus on this node by moving the primary focus to another node).

Implementation

void dismissKeyboard() => FocusScope.of(this).unfocus();