Remove underline from DropdownButtonFormField
Setting the underline
property to SizedBox()
makes it invisible too:
...
DropdownButton(
underline: SizedBox(),
...
Just wrap DropdownButton inside DropdownButtonHideUnderline like this :
new DropdownButtonHideUnderline(
child: DropdownButton()
)