fix auto hide IME

This commit is contained in:
Junyuan Feng
2022-12-02 21:39:33 +08:00
parent bfd31e561c
commit a0b68862fc
8 changed files with 34 additions and 37 deletions

View File

@@ -114,6 +114,7 @@ class _PingPageState extends State<PingPage>
}
Future<void> doPing() async {
FocusScope.of(context).requestFocus(FocusNode());
_results.clear();
final target = _textEditingController.text.trim();
if (target.isEmpty) {