Keadaan buruk: Stream telah didengarkan
StreamController<...> selectedLocation =
StreamController<...>.broadcast();
@override
void initState() {
final applicationBloc =
Provider.of<ApplicationBloc>(context, listen: false);
locationSubScription =
applicationBloc.selectedLocation.stream.listen((place) {
_goToPlace(place);
});
Dead Dormouse