I need your help. I'm using dropdown_button2
from
should be the result
CodePudding user response:
To change text style of the selected element use
selectedItemBuilder
. It's responsible for how the selected item will be displayed on button.The bottom line under the selected element is shown by the
decoration
parameter you're using in the mainContainer
widget. Remove it and bottom line should be gone.