Closed lishaduck closed 1 year ago
dart_define
should make this a bit easier.
dart_define
did the job quite well. We might not even need separate entrypoints! Or even flavors for that matter. It could all just be env stuff. Also, the injection stuff should just work w/riverpod
. And it does! I hadn't realized it could do more than just state.
Though the launcher icons are fun...
Closing, seeing as #103 covers what's left.
We should also take advantage of
flutter_launcher_icons
andflutter_native_splash
with their flavor support.While I'm thinking about it, there was also a good series of articles on Medium that I stumbled upon which you might want to look at, @ParkerH27:
inject.dart
is deprecated, so if we wanted to architect that way, we'd need to useinjectable
instead.