DropDownField<T> constructor
DropDownField<T> ({
- Key? key,
- ItemAsString<
T> ? itemToString, - bool enabled = true,
- bool showSearch = true,
- bool? activeMenuProps = false,
- bool? searchTextProps = false,
- String? selectedPrefix,
- List<
T> ? items, - T? selectedItem,
- dynamic onChanged(
- T?
- String? hintText,
- TextStyle? inputStyle,
- Color? fontColor,
- double? fontSize,
- FontWeight? fontWeight,
- BoxConstraints? constraints,
- EdgeInsets? contentPadding,
- EdgeInsets? popupPadding,
- double? radius,
- FontWeight? selectedFontWeight,
- double? borderWidth = 1.0,
- Color? borderColor,
Implementation
DropDownField(
{Key? key,
this.itemToString,
this.enabled = true,
this.showSearch = true,
this.activeMenuProps = false,
this.searchTextProps = false,
this.selectedPrefix,
this.items,
this.selectedItem,
this.onChanged,
this.hintText,
this.inputStyle,
this.fontColor,
this.fontSize,
this.fontWeight,
this.constraints,
this.contentPadding,
this.popupPadding,
this.radius,
this.selectedFontWeight,
this.borderWidth = 1.0,
this.borderColor})
: super(key: key);