I am trying to create a custom drop down menu for my app, I have a picture of what it should look like. I have been searching online to see if there are any similar ideas, although everything I’m finding does not support null safety and so I am running into problems. If it comes down to it I will try and code my own drop down although if anyone could lead me in the right direction that would be great only because I’m new to flutter.
Also I have tried using DropdownButton in flutter but it does not produce what I am looking for.
2
Answers
Use DropDown button class, here is a complete running code, you can run it in dartpad
You can achieve that using DropdownButton2.
Check out Example 3 of
How to add different height items like dividers
and check outOptions
to see all parameters you can use to customize DropdownButton2 to your design.Disclaimer: I am the author of the package mentioned above.