FilteredMenu<T> constructor

const FilteredMenu<T>({
  1. Key? key,
  2. required List<MenuItem> items,
  3. required VoidCallback setStateCallback,
  4. String label = '',
  5. T? initialSelection,
  6. ValueChanged<T?>? onSelected,
  7. double? height = 30,
  8. double? width = 200,
  9. TextInputType? keyboardType,
  10. double? cursorHeight,
  11. BoxDecoration decoration = const BoxDecoration(),
  12. InputDecoration inputDecoration = const InputDecoration(),
})

Implementation

const FilteredMenu({
  super.key,
  required this.items,
  required this.setStateCallback,
  this.label = '',
  this.initialSelection,
  this.onSelected,
  this.height = 30,
  this.width = 200,
  this.keyboardType,
  this.cursorHeight,
  this.decoration = const BoxDecoration(),
  this.inputDecoration = const InputDecoration(),
});