title: How to set dynamic height for dropdown popup in flutter
body: <p>I am new to flutter development. I am using the dropdown button of my application. When opening the drop-down menu, the text is getting cut in the popup dialog. Below I attached a screenshot with coding. Please guide me in fixing this issue.</p>
  <pre class="lang-dart prettyprint-override"><code>DropdownButtonHideUnderline(
      child: new DropdownButton(
          isExpanded: true,
          value: dropDownValue,
          isDense: true,
          //icon: Icon(Icons.keyboard_arrow_down, color: Colors.white,),
          onChanged: (String newValue) {
              setState(() {
                  dropDownValue = newValue;    
                  state.didChange(newValue);
              });
          },
          items: dropDownList.map((String value) {
              return new DropdownMenuItem(
                  value: value,
                  child: new SizedBox(
                  width: MediaQuery.of(context).size.width / 1.4,
                  child: new Text(value,
                      softWrap: true,
                      style: TextStyle(color: Colors.white, fontSize: 18.0),),)
                  );
              }).toList(),
          ),
      ),
  );
  </code></pre>
  <p><a href="https://i.stack.imgur.com/7w5so.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7w5so.jpg" alt="enter image description here" /></a></p>