FilteredMenu<T> constructor
const
FilteredMenu<T> ({
- Key? key,
- required List<
MenuItem> items, - required VoidCallback setStateCallback,
- String label = '',
- T? initialSelection,
- ValueChanged<
T?> ? onSelected, - double? height = 30,
- double? width = 200,
- TextInputType? keyboardType,
- double? cursorHeight,
- BoxDecoration decoration = const BoxDecoration(),
- 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(),
});