How to set dynamic height for dropdown popup in flutter?

Posted by Andre Scott | Updated on

If you want to set dynamic height for dropdown popup in flutter? Copying the DropdownMenuItem class as someone else suggested will not be enough as DropdownButton requires items to be of type List>.

I have created the following widget which should help with your issue:


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