Build error with No named parameter with the name 'autovalidate'.
To fix it:
change autovalidate to autovalidateMode.
change final bool autoValidate to final AutovalidateMode autoValidate
change this.autoValidate =false to this.autoValidate = AutovalidateMode.disabled
Flutter master version: 2.9.0-1.0.pre.293
Build error with
No named parameter with the name 'autovalidate'
.To fix it:
change
autovalidate
toautovalidateMode
. changefinal bool autoValidate
tofinal AutovalidateMode autoValidate
changethis.autoValidate =false
tothis.autoValidate = AutovalidateMode.disabled