Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0-beta.1 : Error: No named parameter with the name 'strutStyle'. #43

Closed
benoitverstraete opened this issue Apr 4, 2019 · 3 comments

Comments

@benoitverstraete
Copy link

Hi @danvick ,

I try the new version of your package and with the given example at https://pub.dartlang.org/packages/flutter_form_builder/versions/3.0.0-beta.1#-readme-tab- , it doesn't compile :

Compiler message:
file:///C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.0.0-beta.1/lib/src/inputs/form_builder_text_field.dart:127:7: Error: No named parameter with the name 'strutStyle'.
      strutStyle: widget.strutStyle,
      ^^^^^^^^^^
file:///C:/src/flutter/packages/flutter/lib/src/material/text_form_field.dart:73:3: Context: Found this candidate, but the arguments don't match.
  TextFormField({
  ^

Thanks a lot for your time !

@danvick
Copy link
Collaborator

danvick commented Apr 4, 2019

I see. Looks like I'm building the package on a later version of Flutter. Seems like I'll have to switch to stable channel and build for it, my bad.

@danvick
Copy link
Collaborator

danvick commented Apr 4, 2019

@benoitverstraete Kindly upgrade to ^3.0.0-beta.2, it's been fixed.

Thanks for being my kinda beta tester. I'm sure you'll find some very cool features (and less bugs) and more coming soon. :-)

@danvick danvick closed this as completed Apr 4, 2019
@benoitverstraete
Copy link
Author

@danvick it works, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants