DropdownListMenu<T> constructor
const
DropdownListMenu<T> ({
- required dynamic keyWords,
- required List<
T> data, - bool isOperatingButton = true,
- bool isCustomInput = false,
- MenuButtonBuilder? buttonBuilder,
- String? valueKey,
- CustomInputClass? customInput,
- bool isMultiple = false,
- dynamic selectedIndex,
- 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,
});