SuggestionField constructor
const
SuggestionField({
- Key? key,
- required List items,
- required dynamic onSelected(
- dynamic value
- double height = 30,
- double width = 100,
- String label = '',
- BoxDecoration decoration = const BoxDecoration(),
- InputDecoration inputDecoration = const InputDecoration(),
- AlignType alignDropdown = AlignType.fill,
- TextAlign alignDropdownText = TextAlign.left,
- String? initialValue,
Implementation
const SuggestionField({
super.key,
required this.items,
required this.onSelected,
this.height = 30,
this.width = 100,
this.label = '',
this.decoration = const BoxDecoration(),
this.inputDecoration = const InputDecoration(),
this.alignDropdown = AlignType.fill,
this.alignDropdownText = TextAlign.left,
this.initialValue,
});