LoginSignup
1

More than 3 years have passed since last update.

[flutter]キーボードが隠れてしまう問題

Posted at

解決策は下のイシューに書いてあった。
https://github.com/flutter/flutter/issues/20042

Formのキーが再生成されるのが問題のようだ。なぜかキーボードのレンダリングが止まるみたい。

final _formKey = GlobalKey<FormState>();

上のソースを下に書き換えたら直った。

static GlobalKey<FormState> _formKey = new GlobalKey<FormState>();

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1