-
Notifications
You must be signed in to change notification settings - Fork 7
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
Migrate to null safety #8
base: master
Are you sure you want to change the base?
Conversation
Using this library in a project and implemented the changes needed for this to compile under null safety. Figured I would contribute this back...
Resolves issue #7 |
Had to make a few changes to your pubspec.yaml to get this to compile correctly. Also note that pubspec.lock is not recommended to be checked in for library repos, only for applications. I also updated the pedantic version and added the non-nullabl exception. That one you may want to mess with, but this forked version now compiles just fine in my application. |
this.autoStart = false, | ||
this.initialBuilder, | ||
required this.initialBuilder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README and comment on line 16 should also be updated to reflect this change, or (better) initialBuilder should be nullable and optional to preserve the original behavior.
Using this library in a project and implemented the changes needed for this to compile under null safety. Figured I would contribute this back...