I have a DropdownMenu and I want to draw a horizontal divider(line) between DropDownMenuEntries.
‘dropdownMenuEntries’ property only expects a List of DropDownMenuEntry Widgets.
Any help would be appreciated
I have a DropdownMenu and I want to draw a horizontal divider(line) between DropDownMenuEntries.
‘dropdownMenuEntries’ property only expects a List of DropDownMenuEntry Widgets.
Any help would be appreciated
2
Answers
You can use the selectedItemBuilder property from the DropDownMenu
@bbr Following my recommendation, you should generate a custom
DropdownMenuItem
view, as demonstrated in the provided code. Please review it, as I believe it will be beneficial to you!