DropdownField<T extends Object> constructor
const
DropdownField<T extends Object> ({})
Wraps a DropdownButton in an InputDecorator.
Implementation
const DropdownField({
super.key,
required this.items,
required this.onChanged,
this.displayStringForItem = _defaultStringForItem,
this.icon,
this.isDense = true,
this.isExpanded = true,
this.labelText = '',
this.prefixIcon,
this.value,
});