We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, it is not possible to define default values for classes. This is due to dart not allowing default values on redirecting constructors.
We should support this, possibly using the same approach as freezed by using a special annotation (https://pub.dev/packages/freezed#default-values).
freezed
The text was updated successfully, but these errors were encountered:
@jankuss hey there! Thanks for an amazing tool. Is this default value feature coming any time soon?
Sorry, something went wrong.
hey, I'm still working on it - unfortunately this is a bit more complex to solve, as we did not have to implement expressions yet.
No branches or pull requests
Right now, it is not possible to define default values for classes. This is due to dart not allowing default values on redirecting constructors.
We should support this, possibly using the same approach as
freezed
by using a special annotation (https://pub.dev/packages/freezed#default-values).The text was updated successfully, but these errors were encountered: