trufi-core
trufi-core copied to clipboard
Migrate to Null Safety
Null Safety would be beneficial to avoid bugs regarding Null statements. Dart supports that in the newest versions, and it would be helpful to use. We should first upgrade to Flutter 2.0 #397.
Currently, we have only 4 non-null safe dependencies:
diff_match_patch - looks abandoned but there are some promising PR´s Maybe we have to switch to a fork. https://github.com/jheyne/diff-match-patch
flutter_map - https://github.com/fleaflet/flutter_map/issues/829
Mockite and UUID are at the moment on lower versions but could be easily upgraded to ns
I would love to see Trufi being updated to null safety too. @md-weber do you know if the 4 dependencies will be resolved soon? As a side note, once the dependencies are null-safe, please make a YouTube video for migrating Trufi to null safety :)
Implemented