I would like the dropdownMenuEntries of the DropdownMenu to be part of the same entity, not separated:
Actual resutls:
Desired results:
2
Hope this can help you :
CustomDropdown<String>( hintText: _list[0], items: _list, initialItem: _list[0], onChanged: (value) { log('changing value to: $value'); }, );
From this package.
When I want to get this result I usually create a boolean variable to check if the dropdown is open or not and change the borderbox based on that.
if(dropdown is open) -> bottomleft and bottomright not circular
else -> all borders circular.
You can add multiple styles based on the dropdown being open or close with this system.
Click here to cancel reply.
2
Answers
Hope this can help you :
From this package.
When I want to get this result I usually create a boolean variable to check if the dropdown is open or not and change the borderbox based on that.
if(dropdown is open) -> bottomleft and bottomright not circular
else -> all borders circular.
You can add multiple styles based on the dropdown being open or close with this system.