1 min readJul 18, 2018
--
Instead of using provider can we simply create a singleton of bloc class and use it instead of first getting reference of bloc from provider ? For eg in streambuilder widget i can just pass the stream from my bloc singleton. Let me know if his approach is efficient.