ShadyBoukhary / flutter_clean_architecture

Clean architecture flutter: A Flutter package that makes it easy and intuitive to implement Uncle Bob's Clean Architecture in Flutter. This package provides basic classes that are tuned to work with Flutter and are designed according to the Clean Architecture.
https://pub.dartlang.org/packages/flutter_clean_architecture
MIT License
691 stars 172 forks source link

Migrate to support 2.10.3 #83

Closed spendres closed 2 years ago

spendres commented 2 years ago
  1. Need to migrate the example for null safety. Version 5.0.2 example wouldn't build for me on the most recent version of Flutter.

I worked through roughly ten issues involving null safety and deprecated APIs and the example now builds and tests pass. Version 5.0.2 created a domain dependency on flutter that this update corrects – but would like a more clear boundary between flutter and dart. Also removed deprecated pedantic and addTime in tests. All 13 flutter test pass.

Here is the output of dart migrate against version 5.0.2 of flutter_clean_architecture and Flutter 2.10.3. to_flutter_2.10.dart-analyze-output.txt

This could become version 5.1 if the changes are adopted.

ShadyBoukhary commented 2 years ago

I think this has been resolved.