【发布时间】:2020-04-20 15:22:05
【问题描述】:
如何从 Searchable Drop down Button 中删除下划线,我尝试了各种选项组合,但 InputDecoration 找不到任何方法。
child: DropdownButtonHideUnderline(
child: SearchableDropdown.single(
items: this.searchableItems,
value: this._selectSubordinate,
hint: "Subordinate",
searchHint: "Enter yoursubordinate name or Business code",
onChanged: (value) {
setState(() {
this._selectSubordinate = value;
});
},
isExpanded: true,
),
),
【问题讨论】: