SuggestionField constructor

const SuggestionField({
  1. Key? key,
  2. required List items,
  3. required dynamic onSelected(
    1. dynamic value
    ),
  4. double height = 30,
  5. double width = 100,
  6. BoxDecoration decoration = const BoxDecoration(color: Colours.white),
  7. AlignType alignDropdown = AlignType.fill,
  8. TextAlign alignDropdownText = TextAlign.left,
})

Implementation

const SuggestionField({
  super.key,
  required this.items,
  required this.onSelected,
  this.height = 30,
  this.width = 100,
  this.decoration = const BoxDecoration(color: Colours.white),
  this.alignDropdown = AlignType.fill,
  this.alignDropdownText = TextAlign.left,
});