title: BlocProvider.value Vs BlocProvider(create:)
body: <p>i am using flutter_bloc, and i am wondering which method should i use and what is the difference between these two ways?: i read that the first one with (value) the bloc will not automatically closed, but actually i don't understand what is mean?</p>
  <pre><code>BlocProvider&lt;LoginBloc&gt;.value(
    value:  (LoginBloc(LoginInitialState(), AuthRepository())),
    ),
  
    
  
   BlocProvider&lt;ProfileBloc&gt;(
           create:  (context) =&gt; ProfileBloc(ProfileInitialState(), AuthRepository()),
         ),
  </code></pre>