-
Notifications
You must be signed in to change notification settings - Fork 405
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
Code generation for complex types with default value produces warning #1170
Comments
This is a FUN one. This is different than |
Fix is on the way! |
Fixes #1170 `Duration` was overlooked when supporting default values in constructors. That's now fixed!
published as 6.3.1 |
Thank u for the fast fix! 🚀 👏 |
Hello @kevmoo ! Is it possible to adjust codegen behaviour for Duration class and replace |
For the whole project? I don't think so... |
When having a constructor with a not nullable parameter that is a complex type and has a default value, flutter gives me the following warning:
See the following example code to reproduce it:
flutter --version
The text was updated successfully, but these errors were encountered: