title: Flutter: Save TextField value
body: <p>I am new to flutter. I want to implement a simple Form function:</p>
  
  <p>1) First page: "This is the name:" $stringname</p>
  
  <p>1.1) Click on 'Edit icon' --> Open Second Page</p>
  
  <p>2) Second Page: "Edit name:" TextField</p>
  
  <p>2.1) Use Back-Button --> Go back to First Page --> Displays new $stringname</p>
  
  <p>[3) Visit Second Page again, Textfield shows last saved name]</p>
  
  <p>I implemented everything(Frist Page with edit icon, second page with back button and text field), but I don't know how to save the new string value and send it to the first page.
  Could someone please give me a short example how to do this?</p>
  
  <pre><code>TextField(
    obscureText: false,
    decoration: InputDecoration(
      border: OutlineInputBorder(
        borderRadius: BorderRadius.all(
          const Radius.circular(12.0),
        ),
      ),
      labelText: 'Name',
      labelStyle: TextStyle(
        color: Colors.black.withOpacity(0.8)
      ),    
    ),
  ),
  </code></pre>