title: How to use ValueListenableProvider
body: <p>I'm trying to understand how to use <a href="https://pub.dev/documentation/provider/latest/provider/ValueListenableProvider/ValueListenableProvider.value.html" rel="nofollow noreferrer">ValueListenableProvider</a> but I'm quite confused, let's follow the example on the linked page:  </p>
  
  <pre class="lang-dart prettyprint-override"><code>ValueListenable&lt;int&gt; foo;
  
  ValueListenableProvider&lt;int&gt;.value(
    valueListenable: foo,
    child: Container(),
  );
  </code></pre>
  
  <p>Ok, this provides foo to all child widgets, but how do I recover it?<br>
   For example, in ChangeNotifierProvider I use the type to get my reference back e.g. <code>Provider.of&lt;SomeType&gt;(context)</code>. What would be SomeType here? int?</p>