you can use Specific FocusNode for the TextField and then after pressing the done button that FocusNode variable set to unfocus.