title: Future builder - Need Build Context Prior
body: <p>My addSteps function require access to the context.  I have a repository object that is stored here.</p>
  
  <pre><code> Future&lt;int&gt; _addSteps() async {
       repository = RepositoryProvider.of&lt;lo.Repository&gt;(context);
       ...
   }
  </code></pre>
  
  <p>The future <code>_addStepsFuture</code> is created in <code>didChangeDependencies</code>. </p>
  
  <pre><code>didChangeDependencies() {
       addStepsFuture = _addSteps();
  }
  </code></pre>
  
  <p>Although the context is recived later in the Build call. </p>
  
  <pre><code>FutureBuilder&lt;int&gt;(
            future: _addStepsFuture,
  )
  </code></pre>
  
  <p>The <code>BuildContext</code> is not available until <code>Build</code> is called. </p>
  
  <p>Is there a way to solve this problem? Thank you. </p>