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 #15
Comments
If you would kindly tell me how to do that? or if you made a fork would you pass me the git? i'm new to flutter and i use this mixin, thanks! |
Since this is a very simple single file package, I created a new file called 'after_layout_mixin.dart' in my project, and copy pasted the code from here -> https://github.com/fluttercommunity/flutter_after_layout/blob/53abdd3205ad8c9d275a38b02914041bc8c340d6/lib/after_layout.dart Remove this package from pubspec & import your own mixin instead. When migrating to null safety using the migrate tool, Flutter will automatically add nullsafety to your new mixin. Note: this is not a good thing to do if the package is a big & complex one, but since this package is only 15 lines, you can do that without consequences. |
Published new null-safe version v1.1.0. |
Description
All dependencies are migrated to null safety. So we should migrate this package to null safety.
Resources
https://www.youtube.com/watch?v=eBr5tlumwlg&feature=youtu.be
https://medium.com/dartlang/announcing-dart-null-safety-beta-87610fee6730
The text was updated successfully, but these errors were encountered: