DropDownField<T> constructor

DropDownField<T>({
  1. Key? key,
  2. ItemAsString<T>? itemToString,
  3. bool enabled = true,
  4. bool showSearch = true,
  5. bool? activeMenuProps = false,
  6. bool? searchTextProps = false,
  7. String? selectedPrefix,
  8. List<T>? items,
  9. T? selectedItem,
  10. dynamic onChanged(
    1. T?
    )?,
  11. String? hintText,
  12. TextStyle? inputStyle,
  13. Color? fontColor,
  14. double? fontSize,
  15. FontWeight? fontWeight,
  16. BoxConstraints? constraints,
  17. EdgeInsets? contentPadding,
  18. EdgeInsets? popupPadding,
  19. double? radius,
  20. FontWeight? selectedFontWeight,
  21. double? borderWidth = 1.0,
  22. 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);