Flutter dropdownbutton raises exception

Posted by Jessica Taylor | Updated on

Flutter dropdownbutton raises exception. I used a ConstrainedBox to set a maxHeight but then it still overflowed to the right by infinity. I had to set isExpanded: true and then wrap the ConstrainedBox inside of Row -> Expanded.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers