場景
當我們使用TextField TextFormField 點擊 widget 時會自動彈出軟鍵盤正常的事件
問題
點擊 TextField 在定位API 28 時不會顯示屏幕鍵盤,但在定位API 27時會顯示
解決問題
Issues
https://github.com/flutter/flutter/issues/19644
Targeting API 28 doesn’t bring up keyboard for TextField (API 27 does) #19644
方法
對Android 模塊的build.gradle文件中的SDK 進行降級處理
compileSdkVersion 28 <---- changed this from 27
targetSdkVersion **28** <---- Doesnt work with 28 but does with 27
後續
谷歌會修復這個問題