0

As the title, I got a error message that the singleChildScrollView does not has keyboardDismissBehavior property. Some articles said that this issue is caused by the version of pull_to_refresh package. But I didn't use that package in my project. Please help.

Code Image

Joe Lam
  • 23
  • 5

1 Answers1

0

According to Flutter docs, the keyboardDismissBehavior parameter is only available in Flutter after v2.2.0:

76312 add keyboardDismissBehavior into SingleChildScrollView (cla: yes, f: scrolling, framework, waiting for tree to go green)

To fix this, just upgrade your Flutter:

flutter upgrade
enzo
  • 9,861
  • 3
  • 15
  • 38