compiling and running the app under Dart2 gave me a red screen on the device with the message
type '_BroadcastStream' is not a subtype of type 'Stream<List>'
It seems the error can be fixed by repacing line 7 in file lib/favorites_manager.dart
StreamController _favStreamController = new StreamController.broadcast();
with:
StreamController<List<Favorite>> _favStreamController = new StreamController<List<Favorite>>.broadcast();
(Dart2 is more rigid with type checking than Dart1)
compiling and running the app under Dart2 gave me a red screen on the device with the message
It seems the error can be fixed by repacing line 7 in file lib/favorites_manager.dart
with:
(Dart2 is more rigid with type checking than Dart1)