DropdownButtonHideUnderline({Key key, Widget child })

Creates a DropdownButtonHideUnderline. A non-null child must be given.

Source

DropdownButtonHideUnderline({
  Key key,
  Widget child
}) : super(key: key, child: child) {
  assert(child != null);
}