DropdownListMenu<T> constructor

const DropdownListMenu<T>({
  1. required dynamic keyWords,
  2. required List<T> data,
  3. bool isOperatingButton = true,
  4. bool isCustomInput = false,
  5. MenuButtonBuilder? buttonBuilder,
  6. String? valueKey,
  7. CustomInputClass? customInput,
  8. bool isMultiple = false,
  9. dynamic selectedIndex,
  10. required MenuItemBuilder itemBuilder,
})

定义输入文本格式字段key

Implementation

const DropdownListMenu({
  required this.keyWords,
  required this.data,
  this.isOperatingButton = true,
  this.isCustomInput = false,
  this.buttonBuilder,
  this.valueKey,
  this.customInput,
  this.isMultiple = false,
  this.selectedIndex,
  required this.itemBuilder,
});