打开键盘时,抽屉中的Flutter SingleChildScrollView不会向上移动

时间:2020-04-24 10:46:51

标签: flutter

打开键盘后,如何强制将小部件向上移入抽屉? enter image description here

1 个答案:

答案 0 :(得分:0)

您可以使用文本集的version: 0.2 phases: install: runtime-versions: nodejs: 10 build: commands: - echo Build started on `date` - echo Compiling the Node.js code - mocha test.js post_build: commands: - echo Build completed on `date` artifacts: files: - '**/*' 来捕获focusNode事件,并使用onFocus强制在SingleChildScrollView上滚动