-
Notifications
You must be signed in to change notification settings - Fork 236
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
[BUG] 'Null' is not a subtype of type 'bool' #281
Comments
Probably need to change the constructor: FvmSettings({
this.cachePath,
bool skipSetup,
bool gitCache,
}): this.skipSetup = skipSetup ?? false, this.gitCache = gitCache ?? false; |
@kuhnroyal the defaults are being set, it seems the issue happens right before that when is casting the null to bool, will have a fix up soon |
Version 2.0.1 is being built, that should resolve the issue |
Thanks! Now you have the defaults set in 2 places. That's why I was suggesting a private constructor :) |
hmmm sorry about that, will take a better look on your suggestion |
Describe the bug
Running
fvm flutter pub get
with version2.0.0
in a previously working project (with1.3.8
) yields:It seems that,
are now both required with NNBD.
To Reproduce
The project is configure with Flutter 2.0.5 in
fvm_config.json
The text was updated successfully, but these errors were encountered: