title: How to set text in one line for flutter
body: <p>I have next flutter/dart code for make in one line 4 text field:</p>
  
  <pre><code>Container(
              margin: EdgeInsets.all(8.0),
              child: Row(
                mainAxisAlignment: MainAxisAlignment.start,
                children: &lt;Widget&gt;[
                  Container(
                      width: 100.0,
                      child: TextField(
                        maxLength: 2,
                        onChanged: (value) {
                          card.expMonth = int.parse(value);
                        },
                        keyboardType: TextInputType.number,
                        textAlign: TextAlign.center,
                        decoration: InputDecoration(
                            border: InputBorder.none, hintText: 'month'),
                      )),
                  Text("/",
                      style: TextStyle(fontSize: 36),
                      textAlign: TextAlign.center),
                  Container(
                      width: 100.0,
                      child: TextField(
                        maxLength: 2,
                        onChanged: (value) {
                          card.expYear = int.parse(value);
                        },
                        keyboardType: TextInputType.number,
                        textAlign: TextAlign.center,
                        decoration: InputDecoration(
                            border: InputBorder.none, hintText: 'year'),
                      )),
                  Container(
                      padding: EdgeInsets.only(left: 80.0),
                      width: 180.0,
                      child: TextField(
                        maxLength: 3,
                        onChanged: (value) {
                          card.cvc = int.parse(value);
                        },
                        keyboardType: TextInputType.number,
                        textAlign: TextAlign.center,
                        decoration: InputDecoration(
                            border: InputBorder.none, hintText: 'cvc'),
                      )),
                ],
              ),
            )
  </code></pre>
  
  <p>and he see this: <a href="https://i.stack.imgur.com/fiLp4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fiLp4.png" alt="enter image description here"></a></p>
  
  <p>How make all text fields in one line. In android app i simple use guideline or other simple paths. And here i smash with flutter reality where different textfields have different visibility with the same, at first glance, the parameters</p>
  
  <p>UPD.: I make crutch solution: </p>
  
  <pre><code>Padding(
                    padding: EdgeInsets.only(bottom: 20),
                    child: Text("/",
                        style: TextStyle(fontSize: 36),
                        textAlign: TextAlign.center),
                  ),
  </code></pre>
  
  <p>but it's stupid how i think</p>