"The named parameter keyboardDismissBehavior isn't defined" 没有 pull_to_refresh
"The named parameter keyboardDismissBehavior isn't defined" without pull_to_refresh
如题,我收到一条错误信息,说singleChildScrollView没有keyboardDismissBehavior 属性。有文章说这个问题是pull_to_refresh包的版本问题。但是我没有在我的项目中使用那个包。请帮忙。
Code Image
根据Flutter docs,keyboardDismissBehavior
参数仅在v2.2.0之后的Flutter中可用:
76312 add keyboardDismissBehavior into SingleChildScrollView (cla: yes, f: scrolling, framework, waiting for tree to go green)
要解决此问题,只需 upgrade your Flutter:
flutter upgrade
如题,我收到一条错误信息,说singleChildScrollView没有keyboardDismissBehavior 属性。有文章说这个问题是pull_to_refresh包的版本问题。但是我没有在我的项目中使用那个包。请帮忙。
Code Image
根据Flutter docs,keyboardDismissBehavior
参数仅在v2.2.0之后的Flutter中可用:
76312 add keyboardDismissBehavior into SingleChildScrollView (cla: yes, f: scrolling, framework, waiting for tree to go green)
要解决此问题,只需 upgrade your Flutter:
flutter upgrade