Issue
I have spent hours googling something that should be incredibly simple, but have found nothing to this sort on the internet. Effectively, I want to make a dropdown, so that when a button is clicked, I have a menu dropdown. However, I do not wish to have this dropdown be a list of items. I want the dropdown to be able to take in a child widget, similar to the showDialog function, and I can pass what I wish to the child widget.
Eg., I wish to merge dropdown’s positioning with dialog ability to not only render an opinionated list.
Does anyone have any clue how to accomplish this?
Solution
You can use flutter_portal. I used this package to build many types of dropdowns.
Answered By – maempaa
Answer Checked By – Timothy Miller (FlutterFixes Admin)