title: flutter get user email
body: <p>i want to get my flutter login form user id into a text box.i used firebase to make authentication. i wrote a method to get user email.</p>
  
  <pre><code>  _getUserEmail(){
  
      FutureBuilder&lt;FirebaseUser&gt;(
        future: FirebaseAuth.instance.currentUser(),
        builder: (BuildContext context, AsyncSnapshot&lt;FirebaseUser&gt; snapshot) {
          if (snapshot.connectionState == ConnectionState.done) {
            return new Text(snapshot.data.email);
          }
          else {
            return new Text('Loading...');
          }
        },
      );
    }
  </code></pre>
  
  <p>i want to get this user email into my flutter textbox view initial value. This is my flutter textbox.</p>
  
  <pre><code>ListTile(
         leading: Icon(Icons.info),
         title: TextFormField(
          decoration: InputDecoration(
                labelText: 'Enter Your name'
           ),
            initialValue: _getUserEmail(),
             onSaved: (val) =&gt; item.name = val,
             validator: (val) =&gt; val == "" ? val : null,
           ),
          ),
  </code></pre>
  
  <p>i want to get my email into ListTile initial value. can anyone help me?</p>