解決 Flutter showModalBottomSheet 被彈出的鍵盤、輸入法遮擋

在使用 showModalBottomSheet 底部彈出內容時,若是喚起了鍵盤、輸入法,showModalBottomSheet 中的內容每每會被擋住,給 showModalBottomSheet 設置 isScrollControlled,再套一個 SingleChildScrollView 以及 設定一個 padding 通常就能解決問題了。web 示例:svg showModalBotto
相關文章
相關標籤/搜索