title: Change focus to next textfield in flutter
body: <p>I have a code for making Text Fields as shown below</p>
  
  <pre><code> ...Column(
     children: &lt;Widget&gt;[
                        textField(text: 'User Name'),
                        SizedBox(height: 20),
                        textField(text: 'Password'), ])...
  </code></pre>
  
  <p>textField is a class that I made that has the following code to make a textfield. I did this to avoid code duplication,since I use textfields a lot in my applicatin.</p>
  
  <pre><code>...TextField(
      textInputAction: TextInputAction.next,
      obscureText: text == 'Password' ? true : false,
      textCapitalization: TextCapitalization.words,
      cursorColor: primaryColor,
      textAlign: TextAlign.center,
      decoration: InputDecoration(
        labelText: text,
        labelStyle: TextStyle(color: primaryColor, fontFamily: 'Bellotta'),
        filled: true,
        fillColor: Colors.white,
        border: OutlineInputBorder(...
  </code></pre>
  
  <p>Since I use this function to create the text field I cant use focusNode to change focus.
  How can I solve this issue??</p>