I am using inject.dart to inject my bloc as a singleton, is it a bad practice i.e that causes memory leak?
Since all the streams I am using are Broadcast Streams from RxDart I was wondering if a singleton would work better?
And if not a bad practice, what is the best place to close the stream? Will doing it in Dispose() of stateful widgets(subscribing to bloc) cause issues since other widgets may be still using the stream?