TextFieldSearch constructor

const TextFieldSearch({
  1. Key? key,
  2. List? initialList,
  3. required String label,
  4. required TextEditingController controller,
  5. TextStyle? textStyle,
  6. Function? future,
  7. Function? getSelectedValue,
  8. InputDecoration? decoration,
  9. ScrollbarDecoration? scrollbarDecoration,
  10. int itemsInView = 3,
  11. int minStringLength = 2,
})

Creates a TextFieldSearch for displaying selected elements and retrieving a selected element

Implementation

const TextFieldSearch(
    {Key? key,
    this.initialList,
    required this.label,
    required this.controller,
    this.textStyle,
    this.future,
    this.getSelectedValue,
    this.decoration,
    this.scrollbarDecoration,
    this.itemsInView = 3,
    this.minStringLength = 2})
    : super(key: key);