DropDown<T> constructor
DropDown<T> ({})
Implementation
DropDown({
this.dropDownType = DropDownType.Button,
required this.items,
this.customWidgets,
this.initialValue,
this.hint,
this.onChanged,
this.isExpanded = false,
this.icon,
this.isCleared = false,
this.showUnderline = true,
this.increaseItemHeight = 0,
}) : assert(!(items is Widget)),
assert((customWidgets != null)
? items.length == customWidgets.length
: (customWidgets == null));