title: Height in DropdownButtonFormField Flutter
body: <pre><code>            Padding(
                  padding: EdgeInsets.only(left: 15),
                  child: Container(
                    color: Colors.grey.withOpacity(0.35),
                    height: 74,
                    width: screenWidth * 0.93,
                    child: Padding(
                      padding:
                          const EdgeInsets.only(left: 10.0, right: 10, top: 2),
                      child: DropdownButtonFormField&lt;String&gt;(
                        value: _opcionSeleccionada,
                        decoration: InputDecoration(
                            enabledBorder: UnderlineInputBorder(
                                borderSide: BorderSide(color: Colors.white))),
                        iconEnabledColor: Colors.blue,
                        elevation: 1,
                        items: locations.map((String val) {
                          return new DropdownMenuItem&lt;String&gt;(
                            value: val,
                            child: new Text(
                              val,
                              style: TextStyle(color: Colors.black, fontSize: 16),
                            ),
                          );
                        }).toList(),
                        hint: Text("Opcion"),
                        onChanged: (opt) {
                          _opcionSeleccionada = opt;
                          setState(() {});
                        },
                      ),
                    ),
                  )),
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/omJKg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/omJKg.png" alt="enter image description here"></a></p>
  
  <p>I need to make the DropdownButtonFormField smaller but every time I move the height size of the container it throws me a problem with the pixels. Is there a way to resize the Widget?</p>