I provide lazy singletons for all of my bloc instances using get_it, So I simply inject them into my widgets.
I want to know that It's necessary to use BlocProvider.of or It's ok to use any DI libraries?
BlocProvider.of
Hi @SaeedMasoumi 馃憢 Thanks for opening an issue!
Great question! BlocProvider is there if you need it but there's nothing stopping you from using any other DI libraries 馃憤
BlocProvider
Most helpful comment
Hi @SaeedMasoumi 馃憢
Thanks for opening an issue!
Great question!
BlocProvideris there if you need it but there's nothing stopping you from using any other DI libraries 馃憤